We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--stage=0
1 parent f9567d0 commit 14ed979Copy full SHA for 14ed979
compiler/rustc_lint/src/if_let_rescope.rs
@@ -24,7 +24,7 @@ declare_lint! {
24
/// ### Example
25
///
26
/// ```rust,edition2021
27
- /// #![feature(if_let_rescope)]
+ /// #![cfg_attr(not(bootstrap), feature(if_let_rescope))] // Simplify this in bootstrap bump.
28
/// #![warn(if_let_rescope)]
29
/// #![allow(unused_variables)]
30
compiler/rustc_lint_defs/src/builtin.rs
@@ -1871,6 +1871,7 @@ declare_lint! {
1871
1872
1873
/// ```rust,compile_fail
1874
+ /// # #[cfg_attr(bootstrap)] compile_error!(); // Remove this in bootstrap bump.
1875
/// #![deny(elided_named_lifetimes)]
1876
/// struct Foo;
1877
/// impl Foo {
0 commit comments