diff options
Diffstat (limited to 'src/test/ui/parser/issues/issue-70583-block-is-empty-1.rs')
-rw-r--r-- | src/test/ui/parser/issues/issue-70583-block-is-empty-1.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/ui/parser/issues/issue-70583-block-is-empty-1.rs b/src/test/ui/parser/issues/issue-70583-block-is-empty-1.rs deleted file mode 100644 index f560f68f6..000000000 --- a/src/test/ui/parser/issues/issue-70583-block-is-empty-1.rs +++ /dev/null @@ -1,20 +0,0 @@ -pub enum ErrorHandled { - Reported, - TooGeneric, -} - -impl ErrorHandled { - pub fn assert_reported(self) { - match self { - ErrorHandled::Reported => {} - ErrorHandled::TooGeneric => panic!(), - } - } -} - -fn struct_generic(x: Vec<i32>) { - for v in x { - println!("{}", v); - } - } -} //~ ERROR unexpected closing delimiter: `}` |