diff options
Diffstat (limited to 'src/test/ui/lint/dead-code/with-impl.rs')
-rw-r--r-- | src/test/ui/lint/dead-code/with-impl.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/lint/dead-code/with-impl.rs b/src/test/ui/lint/dead-code/with-impl.rs deleted file mode 100644 index 812fcdd09..000000000 --- a/src/test/ui/lint/dead-code/with-impl.rs +++ /dev/null @@ -1,17 +0,0 @@ -// run-pass - -#![deny(dead_code)] - -pub struct GenericFoo<T>(#[allow(unused_tuple_struct_fields)] T); - -type Foo = GenericFoo<u32>; - -impl Foo { - fn bar(self) -> u8 { - 0 - } -} - -fn main() { - println!("{}", GenericFoo(0).bar()); -} |