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