diff options
Diffstat (limited to 'src/test/ui/parser/mismatched-braces/missing-close-brace-in-struct.rs')
-rw-r--r-- | src/test/ui/parser/mismatched-braces/missing-close-brace-in-struct.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/parser/mismatched-braces/missing-close-brace-in-struct.rs b/src/test/ui/parser/mismatched-braces/missing-close-brace-in-struct.rs deleted file mode 100644 index 090a17b41..000000000 --- a/src/test/ui/parser/mismatched-braces/missing-close-brace-in-struct.rs +++ /dev/null @@ -1,13 +0,0 @@ -pub(crate) struct Bar<T> { - foo: T, - -trait T { //~ ERROR expected identifier, found keyword `trait` - fn foo(&self); -} - - -impl T for Bar<usize> { -fn foo(&self) {} -} - -fn main() {} //~ ERROR this file contains an unclosed delimiter |