diff options
Diffstat (limited to 'src/test/ui/lint/issue-80988.rs')
-rw-r--r-- | src/test/ui/lint/issue-80988.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/lint/issue-80988.rs b/src/test/ui/lint/issue-80988.rs new file mode 100644 index 000000000..1e116206f --- /dev/null +++ b/src/test/ui/lint/issue-80988.rs @@ -0,0 +1,14 @@ +// Regression test for #80988 +// +// check-pass + +#![forbid(warnings)] + +#[deny(warnings)] +//~^ WARNING incompatible with previous forbid +//~| WARNING being phased out +//~| WARNING incompatible with previous forbid +//~| WARNING being phased out +//~| WARNING incompatible with previous forbid +//~| WARNING being phased out +fn main() {} |