@@ -2346,8 +2346,7 @@ declare_lint! {
23462346 /// [sanitize]: https://doc.rust-lang.org/nightly/unstable-book/language-features/no-sanitize.html
23472347 /// ### Example
23482348 ///
2349- #[ cfg_attr( bootstrap, doc = "```ignore" ) ]
2350- #[ cfg_attr( not( bootstrap) , doc = "```rust,no_run" ) ]
2349+ /// ```rust,no_run
23512350 /// #![feature(sanitize)]
23522351 ///
23532352 /// #[sanitize(realtime = "nonblocking")]
@@ -2356,8 +2355,7 @@ declare_lint! {
23562355 /// fn main() {
23572356 /// x();
23582357 /// }
2359- #[ cfg_attr( bootstrap, doc = "```" ) ]
2360- #[ cfg_attr( not( bootstrap) , doc = "```" ) ]
2358+ /// ```
23612359 ///
23622360 /// {{produces}}
23632361 ///
@@ -4907,8 +4905,7 @@ declare_lint! {
49074905 ///
49084906 /// ### Example
49094907 ///
4910- #[ cfg_attr( bootstrap, doc = "```ignore" ) ]
4911- #[ cfg_attr( not( bootstrap) , doc = "```rust,compile_fail" ) ]
4908+ /// ```rust,compile_fail
49124909 /// #![feature(supertrait_item_shadowing)]
49134910 /// #![deny(resolving_to_items_shadowing_supertrait_items)]
49144911 ///
@@ -4924,8 +4921,7 @@ declare_lint! {
49244921 ///
49254922 /// struct MyType;
49264923 /// MyType.hello();
4927- #[ cfg_attr( bootstrap, doc = "```" ) ]
4928- #[ cfg_attr( not( bootstrap) , doc = "```" ) ]
4924+ /// ```
49294925 ///
49304926 /// {{produces}}
49314927 ///
@@ -4951,8 +4947,7 @@ declare_lint! {
49514947 ///
49524948 /// ### Example
49534949 ///
4954- #[ cfg_attr( bootstrap, doc = "```ignore" ) ]
4955- #[ cfg_attr( not( bootstrap) , doc = "```rust,compile_fail" ) ]
4950+ /// ```rust,compile_fail"
49564951 /// #![feature(supertrait_item_shadowing)]
49574952 /// #![deny(shadowing_supertrait_items)]
49584953 ///
@@ -4965,8 +4960,7 @@ declare_lint! {
49654960 /// fn hello(&self) {}
49664961 /// }
49674962 /// impl<T> Downstream for T {}
4968- #[ cfg_attr( bootstrap, doc = "```" ) ]
4969- #[ cfg_attr( not( bootstrap) , doc = "```" ) ]
4963+ /// ```
49704964 ///
49714965 /// {{produces}}
49724966 ///
0 commit comments