summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-forbid-attr.stderr
blob: 5977b9c949d5042c17300b57cccc796c4bf8d378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0453]: allow(deprecated) incompatible with previous forbid
  --> $DIR/lint-forbid-attr.rs:3:9
   |
LL | #![forbid(deprecated)]
   |           ---------- `forbid` level set here
LL |
LL | #[allow(deprecated)]
   |         ^^^^^^^^^^ overruled by previous forbid

error[E0453]: allow(deprecated) incompatible with previous forbid
  --> $DIR/lint-forbid-attr.rs:3:9
   |
LL | #![forbid(deprecated)]
   |           ---------- `forbid` level set here
LL |
LL | #[allow(deprecated)]
   |         ^^^^^^^^^^ overruled by previous forbid

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0453`.