]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/issue-70819-dont-override-forbid-in-same-scope.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[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    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
10    = note: for more information, see issue #81670 <https://github.com/rust-lang/rust/issues/81670>
11 note: the lint level is defined here
12   --> $DIR/issue-70819-dont-override-forbid-in-same-scope.rs:17:11
13    |
14 LL | #![forbid(forbidden_lint_groups)]
15    |           ^^^^^^^^^^^^^^^^^^^^^
16
17 error: aborting due to previous error
18