@@ -48,7 +48,7 @@ fn rustc_caching_allow_first() {
48481 | fn main() { let x = 3; }
4949 | ^ [HELP] if this is intentional, prefix it with an underscore: `_x`
5050 |
51- = [NOTE] `#[warn(unused_variables)]` on by default
51+ = [NOTE] `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
5252
5353[WARNING] `foo` (bin "foo") generated 1 warning
5454[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -75,7 +75,7 @@ fn rustc_caching_deny_first() {
75751 | fn main() { let x = 3; }
7676 | ^ [HELP] if this is intentional, prefix it with an underscore: `_x`
7777 |
78- = [NOTE] `#[warn(unused_variables)]` on by default
78+ = [NOTE] `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
7979
8080[WARNING] `foo` (bin "foo") generated 1 warning
8181[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -112,7 +112,7 @@ fn config() {
1121121 | fn main() { let x = 3; }
113113 | ^ [HELP] if this is intentional, prefix it with an underscore: `_x`
114114 |
115- = [NOTE] `#[warn(unused_variables)]` on by default
115+ = [NOTE] `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
116116
117117[WARNING] `foo` (bin "foo") generated 1 warning
118118[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -136,7 +136,7 @@ fn config() {
1361361 | fn main() { let x = 3; }
137137 | ^ [HELP] if this is intentional, prefix it with an underscore: `_x`
138138 |
139- = [NOTE] `#[warn(unused_variables)]` on by default
139+ = [NOTE] `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
140140
141141[WARNING] `foo` (bin "foo") generated 1 warning
142142[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -160,7 +160,7 @@ fn requires_nightly() {
1601601 | fn main() { let x = 3; }
161161 | ^ [HELP] if this is intentional, prefix it with an underscore: `_x`
162162 |
163- = [NOTE] `#[warn(unused_variables)]` on by default
163+ = [NOTE] `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
164164
165165[WARNING] `foo` (bin "foo") generated 1 warning
166166[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
0 commit comments