diff options
Diffstat (limited to 'src/test/ui/lint/lint-change-warnings.rs')
-rw-r--r-- | src/test/ui/lint/lint-change-warnings.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/test/ui/lint/lint-change-warnings.rs b/src/test/ui/lint/lint-change-warnings.rs deleted file mode 100644 index 37af3b761..000000000 --- a/src/test/ui/lint/lint-change-warnings.rs +++ /dev/null @@ -1,21 +0,0 @@ -#![deny(warnings)] -#![allow(dead_code)] - -fn main() { - while true {} //~ ERROR: infinite -} - -#[allow(warnings)] -fn foo() { - while true {} -} - -#[warn(warnings)] -fn bar() { - while true {} //~ WARNING: infinite -} - -#[forbid(warnings)] -fn baz() { - while true {} //~ ERROR: infinite -} |