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