diff options
Diffstat (limited to 'src/test/ui/error-codes/E0164.rs')
-rw-r--r-- | src/test/ui/error-codes/E0164.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/error-codes/E0164.rs b/src/test/ui/error-codes/E0164.rs deleted file mode 100644 index 2d412f754..000000000 --- a/src/test/ui/error-codes/E0164.rs +++ /dev/null @@ -1,14 +0,0 @@ -enum Foo {} - -impl Foo { - const B: u8 = 0; -} - -fn bar(foo: Foo) -> u32 { - match foo { - Foo::B(i) => i, //~ ERROR E0164 - } -} - -fn main() { -} |