diff options
Diffstat (limited to 'tests/ui/lint/forbid-member-group.stderr')
-rw-r--r-- | tests/ui/lint/forbid-member-group.stderr | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/ui/lint/forbid-member-group.stderr b/tests/ui/lint/forbid-member-group.stderr new file mode 100644 index 000000000..e65301778 --- /dev/null +++ b/tests/ui/lint/forbid-member-group.stderr @@ -0,0 +1,21 @@ +error[E0453]: allow(unused) incompatible with previous forbid + --> $DIR/forbid-member-group.rs:6:9 + | +LL | #![forbid(unused_variables)] + | ---------------- `forbid` level set here +LL | +LL | #[allow(unused)] + | ^^^^^^ overruled by previous forbid + +error[E0453]: allow(unused) incompatible with previous forbid + --> $DIR/forbid-member-group.rs:6:9 + | +LL | #![forbid(unused_variables)] + | ---------------- `forbid` level set here +LL | +LL | #[allow(unused)] + | ^^^^^^ overruled by previous forbid + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0453`. |