@@ -2363,8 +2363,7 @@ declare_lint! {
23632363 /// [sanitize]: https://doc.rust-lang.org/nightly/unstable-book/language-features/no-sanitize.html
23642364 /// ### Example
23652365 ///
2366- #[ cfg_attr( bootstrap, doc = "```ignore" ) ]
2367- #[ cfg_attr( not( bootstrap) , doc = "```rust,no_run" ) ]
2366+ /// ```rust,no_run
23682367 /// #![feature(sanitize)]
23692368 ///
23702369 /// #[sanitize(realtime = "nonblocking")]
@@ -2373,8 +2372,7 @@ declare_lint! {
23732372 /// fn main() {
23742373 /// x();
23752374 /// }
2376- #[ cfg_attr( bootstrap, doc = "```" ) ]
2377- #[ cfg_attr( not( bootstrap) , doc = "```" ) ]
2375+ /// ```
23782376 ///
23792377 /// {{produces}}
23802378 ///
@@ -4949,8 +4947,7 @@ declare_lint! {
49494947 ///
49504948 /// ### Example
49514949 ///
4952- #[ cfg_attr( bootstrap, doc = "```ignore" ) ]
4953- #[ cfg_attr( not( bootstrap) , doc = "```rust,compile_fail" ) ]
4950+ /// ```rust,compile_fail
49544951 /// #![feature(supertrait_item_shadowing)]
49554952 /// #![deny(resolving_to_items_shadowing_supertrait_items)]
49564953 ///
@@ -4966,8 +4963,7 @@ declare_lint! {
49664963 ///
49674964 /// struct MyType;
49684965 /// MyType.hello();
4969- #[ cfg_attr( bootstrap, doc = "```" ) ]
4970- #[ cfg_attr( not( bootstrap) , doc = "```" ) ]
4966+ /// ```
49714967 ///
49724968 /// {{produces}}
49734969 ///
@@ -4993,8 +4989,7 @@ declare_lint! {
49934989 ///
49944990 /// ### Example
49954991 ///
4996- #[ cfg_attr( bootstrap, doc = "```ignore" ) ]
4997- #[ cfg_attr( not( bootstrap) , doc = "```rust,compile_fail" ) ]
4992+ /// ```rust,compile_fail"
49984993 /// #![feature(supertrait_item_shadowing)]
49994994 /// #![deny(shadowing_supertrait_items)]
50004995 ///
@@ -5007,8 +5002,7 @@ declare_lint! {
50075002 /// fn hello(&self) {}
50085003 /// }
50095004 /// impl<T> Downstream for T {}
5010- #[ cfg_attr( bootstrap, doc = "```" ) ]
5011- #[ cfg_attr( not( bootstrap) , doc = "```" ) ]
5005+ /// ```
50125006 ///
50135007 /// {{produces}}
50145008 ///
0 commit comments