diff options
Diffstat (limited to 'src/test/ui/error-codes/E0609.rs')
-rw-r--r-- | src/test/ui/error-codes/E0609.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/error-codes/E0609.rs b/src/test/ui/error-codes/E0609.rs deleted file mode 100644 index e3a97f2fb..000000000 --- a/src/test/ui/error-codes/E0609.rs +++ /dev/null @@ -1,12 +0,0 @@ -struct Foo { - x: u32, -} -struct Bar; - -fn main() { - let x = Foo { x: 0 }; - let _ = x.foo; //~ ERROR E0609 - - let y = Bar; - y.1; //~ ERROR E0609 -} |