File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ declare_lint! {
23
23
///
24
24
/// ### Example
25
25
///
26
- /// ```rust,edition2021
26
+ #[ cfg_attr( bootstrap, doc = "```ignore" ) ]
27
+ #[ cfg_attr( not( bootstrap) , doc = "```rust,edition2021" ) ]
28
+ // ``` // Trick tidy's backtick count. Remove on bootstrap bump. #[cfg(not(bootstrap))]
27
29
/// #![feature(if_let_rescope)]
28
30
/// #![warn(if_let_rescope)]
29
31
/// #![allow(unused_variables)]
Original file line number Diff line number Diff line change @@ -1870,7 +1870,9 @@ declare_lint! {
1870
1870
///
1871
1871
/// ### Example
1872
1872
///
1873
- /// ```rust,compile_fail
1873
+ #[ cfg_attr( bootstrap, doc = "```ignore" ) ]
1874
+ #[ cfg_attr( not( bootstrap) , doc = "```rust,compile_fail" ) ]
1875
+ // ``` // Trick tidy's backtick count. Remove on bootstrap bump. #[cfg(not(bootstrap))]
1874
1876
/// #![deny(elided_named_lifetimes)]
1875
1877
/// struct Foo;
1876
1878
/// impl Foo {
You can’t perform that action at this time.
0 commit comments