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 {
2562
2562
2563
2563
macro_rules! maybe_tuple_doc {
2564
2564
( $a: ident @ #[ $meta: meta] $item: item) => {
2565
- #[ doc( tuple_variadic ) ]
2565
+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
2566
2566
#[ doc = "This trait is implemented for tuples up to twelve items long." ]
2567
2567
#[ $meta]
2568
2568
$item
Original file line number Diff line number Diff line change @@ -900,7 +900,7 @@ mod impls {
900
900
901
901
macro_rules! maybe_tuple_doc {
902
902
( $a: ident @ #[ $meta: meta] $item: item) => {
903
- #[ doc( tuple_variadic ) ]
903
+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
904
904
#[ doc = "This trait is implemented for tuples up to twelve items long." ]
905
905
#[ $meta]
906
906
$item
Original file line number Diff line number Diff line change @@ -996,7 +996,7 @@ impl<T> (T,) {}
996
996
// Fake impl that's only really used for docs.
997
997
#[ cfg( doc) ]
998
998
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
999
- #[ doc( tuple_variadic ) ]
999
+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
1000
1000
/// This trait is implemented on arbitrary-length tuples.
1001
1001
impl < T : Clone > Clone for ( T , ) {
1002
1002
fn clone ( & self ) -> Self {
@@ -1007,7 +1007,7 @@ impl<T: Clone> Clone for (T,) {
1007
1007
// Fake impl that's only really used for docs.
1008
1008
#[ cfg( doc) ]
1009
1009
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1010
- #[ doc( tuple_variadic ) ]
1010
+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
1011
1011
/// This trait is implemented on arbitrary-length tuples.
1012
1012
impl < T : Copy > Copy for ( T , ) {
1013
1013
// empty
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ macro_rules! tuple_impls {
107
107
// Otherwise, it hides the docs entirely.
108
108
macro_rules! maybe_tuple_doc {
109
109
( $a: ident @ #[ $meta: meta] $item: item) => {
110
- #[ doc( tuple_variadic ) ]
110
+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
111
111
#[ doc = "This trait is implemented for tuples up to twelve items long." ]
112
112
#[ $meta]
113
113
$item
Original file line number Diff line number Diff line change @@ -996,7 +996,7 @@ impl<T> (T,) {}
996
996
// Fake impl that's only really used for docs.
997
997
#[ cfg( doc) ]
998
998
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
999
- #[ doc( tuple_variadic ) ]
999
+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
1000
1000
/// This trait is implemented on arbitrary-length tuples.
1001
1001
impl < T : Clone > Clone for ( T , ) {
1002
1002
fn clone ( & self ) -> Self {
@@ -1007,7 +1007,7 @@ impl<T: Clone> Clone for (T,) {
1007
1007
// Fake impl that's only really used for docs.
1008
1008
#[ cfg( doc) ]
1009
1009
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1010
- #[ doc( tuple_variadic ) ]
1010
+ #[ cfg_attr ( not ( bootstrap ) , doc( fake_variadic ) ) ]
1011
1011
/// This trait is implemented on arbitrary-length tuples.
1012
1012
impl < T : Copy > Copy for ( T , ) {
1013
1013
// empty
You can’t perform that action at this time.
0 commit comments