diff options
Diffstat (limited to 'src/test/ui/parser/bad-interpolated-block.rs')
-rw-r--r-- | src/test/ui/parser/bad-interpolated-block.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/parser/bad-interpolated-block.rs b/src/test/ui/parser/bad-interpolated-block.rs deleted file mode 100644 index c6d7ae383..000000000 --- a/src/test/ui/parser/bad-interpolated-block.rs +++ /dev/null @@ -1,13 +0,0 @@ -fn main() {} - -macro_rules! m { - ($b:block) => { - 'lab: $b; //~ ERROR cannot use a `block` macro fragment here - unsafe $b; //~ ERROR cannot use a `block` macro fragment here - |x: u8| -> () $b; //~ ERROR cannot use a `block` macro fragment here - } -} - -fn foo() { - m!({}); -} |