File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2562,7 +2562,7 @@ macro_rules! tuple {
25622562
25632563macro_rules! maybe_tuple_doc {
25642564 ( $a: ident @ #[ $meta: meta] $item: item) => {
2565- #[ doc( tuple_variadic ) ]
2565+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
25662566 #[ doc = "This trait is implemented for tuples up to twelve items long." ]
25672567 #[ $meta]
25682568 $item
Original file line number Diff line number Diff line change @@ -900,7 +900,7 @@ mod impls {
900900
901901 macro_rules! maybe_tuple_doc {
902902 ( $a: ident @ #[ $meta: meta] $item: item) => {
903- #[ doc( tuple_variadic ) ]
903+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
904904 #[ doc = "This trait is implemented for tuples up to twelve items long." ]
905905 #[ $meta]
906906 $item
Original file line number Diff line number Diff line change @@ -996,7 +996,7 @@ impl<T> (T,) {}
996996// Fake impl that's only really used for docs.
997997#[ cfg( doc) ]
998998#[ stable( feature = "rust1" , since = "1.0.0" ) ]
999- #[ doc( tuple_variadic ) ]
999+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
10001000/// This trait is implemented on arbitrary-length tuples.
10011001impl < T : Clone > Clone for ( T , ) {
10021002 fn clone ( & self ) -> Self {
@@ -1007,7 +1007,7 @@ impl<T: Clone> Clone for (T,) {
10071007// Fake impl that's only really used for docs.
10081008#[ cfg( doc) ]
10091009#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1010- #[ doc( tuple_variadic ) ]
1010+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
10111011/// This trait is implemented on arbitrary-length tuples.
10121012impl < T : Copy > Copy for ( T , ) {
10131013 // empty
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ macro_rules! tuple_impls {
107107// Otherwise, it hides the docs entirely.
108108macro_rules! maybe_tuple_doc {
109109 ( $a: ident @ #[ $meta: meta] $item: item) => {
110- #[ doc( tuple_variadic ) ]
110+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
111111 #[ doc = "This trait is implemented for tuples up to twelve items long." ]
112112 #[ $meta]
113113 $item
Original file line number Diff line number Diff line change @@ -996,7 +996,7 @@ impl<T> (T,) {}
996996// Fake impl that's only really used for docs.
997997#[ cfg( doc) ]
998998#[ stable( feature = "rust1" , since = "1.0.0" ) ]
999- #[ doc( tuple_variadic ) ]
999+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
10001000/// This trait is implemented on arbitrary-length tuples.
10011001impl < T : Clone > Clone for ( T , ) {
10021002 fn clone ( & self ) -> Self {
@@ -1007,7 +1007,7 @@ impl<T: Clone> Clone for (T,) {
10071007// Fake impl that's only really used for docs.
10081008#[ cfg( doc) ]
10091009#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1010- #[ doc( tuple_variadic ) ]
1010+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
10111011/// This trait is implemented on arbitrary-length tuples.
10121012impl < T : Copy > Copy for ( T , ) {
10131013 // empty
You can’t perform that action at this time.
0 commit comments