diff options
Diffstat (limited to 'src/test/ui/lint/forbid-group-member.rs')
-rw-r--r-- | src/test/ui/lint/forbid-group-member.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/lint/forbid-group-member.rs b/src/test/ui/lint/forbid-group-member.rs deleted file mode 100644 index 664edeaa8..000000000 --- a/src/test/ui/lint/forbid-group-member.rs +++ /dev/null @@ -1,17 +0,0 @@ -// Check what happens when we forbid a group but -// then allow a member of that group. -// -// check-pass - -#![forbid(unused)] - -#[allow(unused_variables)] -//~^ WARNING incompatible with previous forbid -//~| WARNING previously accepted -//~| WARNING incompatible with previous forbid -//~| WARNING previously accepted -//~| WARNING incompatible with previous forbid -//~| WARNING previously accepted -fn main() { - let a: (); -} |