]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-forbid-attr.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / lint / lint-forbid-attr.stderr
1 error[E0453]: allow(deprecated) incompatible with previous forbid
2   --> $DIR/lint-forbid-attr.rs:3:9
3    |
4 LL | #![forbid(deprecated)]
5    |           ---------- `forbid` level set here
6 LL |
7 LL | #[allow(deprecated)]
8    |         ^^^^^^^^^^ overruled by previous forbid
9
10 error[E0453]: allow(deprecated) incompatible with previous forbid
11   --> $DIR/lint-forbid-attr.rs:3:9
12    |
13 LL | #![forbid(deprecated)]
14    |           ---------- `forbid` level set here
15 LL |
16 LL | #[allow(deprecated)]
17    |         ^^^^^^^^^^ overruled by previous forbid
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0453`.