]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/soft-syntax-gates-without-errors.stderr
Rollup merge of #107306 - compiler-errors:correct-sugg-for-closure-arg-needs-borrow...
[rust.git] / tests / ui / feature-gates / soft-syntax-gates-without-errors.stderr
1 warning: `macro` is experimental
2   --> $DIR/soft-syntax-gates-without-errors.rs:6:1
3    |
4 LL | macro b() {}
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    = warning: unstable syntax can change at any point in the future, causing a hard error!
10    = note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
11
12 warning: `macro` is experimental
13   --> $DIR/soft-syntax-gates-without-errors.rs:21:5
14    |
15 LL |     macro e() {}
16    |     ^^^^^^^^^^^^
17    |
18    = note: see issue #39412 <https://github.com/rust-lang/rust/issues/39412> for more information
19    = help: add `#![feature(decl_macro)]` to the crate attributes to enable
20    = warning: unstable syntax can change at any point in the future, causing a hard error!
21    = note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
22
23 warning: 2 warnings emitted
24