diff options
Diffstat (limited to 'src/test/ui/parser/issues/issue-70583-block-is-empty-2.rs')
-rw-r--r-- | src/test/ui/parser/issues/issue-70583-block-is-empty-2.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/parser/issues/issue-70583-block-is-empty-2.rs b/src/test/ui/parser/issues/issue-70583-block-is-empty-2.rs deleted file mode 100644 index 80f53338a..000000000 --- a/src/test/ui/parser/issues/issue-70583-block-is-empty-2.rs +++ /dev/null @@ -1,14 +0,0 @@ -pub enum ErrorHandled { - Reported, - TooGeneric, -} - -impl ErrorHandled { - pub fn assert_reported(self) { - match self { - ErrorHandled::Reported => {}} - //^~ ERROR block is empty, you might have not meant to close it - ErrorHandled::TooGeneric => panic!(), - } - } -} //~ ERROR unexpected closing delimiter: `}` |