]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/soft-syntax-gates-with-errors.stderr
Rollup merge of #106605 - notriddle:notriddle/outdated-rustbook, r=GuillaumeGomez
[rust.git] / tests / ui / feature-gates / soft-syntax-gates-with-errors.stderr
1 error[E0658]: `macro` is experimental
2   --> $DIR/soft-syntax-gates-with-errors.rs:5:1
3    |
4 LL | macro a() {}
5    | ^^^^^^^^^^^^
6    |
7    = note: see issue #39412 <https://github.com/rust-lang/rust/issues/39412> for more information
8    = help: add `#![feature(decl_macro)]` to the crate attributes to enable
9
10 error[E0658]: `macro` is experimental
11   --> $DIR/soft-syntax-gates-with-errors.rs:16:5
12    |
13 LL |     macro c() {}
14    |     ^^^^^^^^^^^^
15    |
16    = note: see issue #39412 <https://github.com/rust-lang/rust/issues/39412> for more information
17    = help: add `#![feature(decl_macro)]` to the crate attributes to enable
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0658`.