File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ warning: unused variable: `input`
10107 | fn update(&mut self, input: &[u8]) { }
1111 | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
1212 |
13- = note: `#[warn(unused_variables)]` on by default
13+ = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ warning: unused variable: `input`
15157 | fn update(&mut self, input: &[u8]) { }
1616 | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
1717 |
18- = note: `#[warn(unused_variables)]` on by default
18+ = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
1919
2020error[E0004]: non-exhaustive patterns: `&Code::Foo` not covered
2121 --> tests/fail/no_allow_same_name_twice.rs:16:17
@@ -46,4 +46,4 @@ warning: unreachable pattern
464622 | | Foo,
4747 | |________^ no value can reach this
4848 |
49- = note: `#[warn(unreachable_patterns)]` on by default
49+ = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
You can’t perform that action at this time.
0 commit comments