diff options
Diffstat (limited to 'tests/ui/macros/issue-39404.stderr')
-rw-r--r-- | tests/ui/macros/issue-39404.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/macros/issue-39404.stderr b/tests/ui/macros/issue-39404.stderr new file mode 100644 index 000000000..3886a70bb --- /dev/null +++ b/tests/ui/macros/issue-39404.stderr @@ -0,0 +1,12 @@ +error: missing fragment specifier + --> $DIR/issue-39404.rs:3:19 + | +LL | macro_rules! m { ($i) => {} } + | ^^ + | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! + = note: for more information, see issue #40107 <https://github.com/rust-lang/rust/issues/40107> + = note: `#[deny(missing_fragment_specifier)]` on by default + +error: aborting due to previous error + |