]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/issue-70819-dont-override-forbid-in-same-scope.stderr
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / lint / issue-70819-dont-override-forbid-in-same-scope.stderr
1 error: deny(unused) incompatible with previous forbid
2   --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:21:13
3    |
4 LL |     #![forbid(unused)]
5    |               ------ `forbid` level set here
6 LL |     #![deny(unused)]
7    |             ^^^^^^ overruled by previous forbid
8    |
9 note: the lint level is defined here
10   --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
11    |
12 LL | #![forbid(forbidden_lint_groups)]
13    |           ^^^^^^^^^^^^^^^^^^^^^
14    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
15    = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
16
17 error: deny(unused) incompatible with previous forbid
18   --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:21:13
19    |
20 LL |     #![forbid(unused)]
21    |               ------ `forbid` level set here
22 LL |     #![deny(unused)]
23    |             ^^^^^^ overruled by previous forbid
24    |
25    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
26    = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
27
28 error: aborting due to 2 previous errors
29