]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-at-most-once-rep-2015-ques-sep.stderr
bf1861ae54052691e92b4aa747c791b10c42d032
[rust.git] / src / test / ui / macros / macro-at-most-once-rep-2015-ques-sep.stderr
1 warning: using `?` as a separator is deprecated and will be a hard error in an upcoming edition
2   --> $DIR/macro-at-most-once-rep-2015-ques-sep.rs:10:10
3    |
4 LL |     ($(a)?*) => {}
5    |          ^
6    |
7 note: lint level defined here
8   --> $DIR/macro-at-most-once-rep-2015-ques-sep.rs:7:9
9    |
10 LL | #![warn(rust_2018_compatibility)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^
12    = note: #[warn(question_mark_macro_sep)] implied by #[warn(rust_2018_compatibility)]
13    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
14    = note: for more information, see issue #48075 <https://github.com/rust-lang/rust/issues/48075>
15
16 warning: using `?` as a separator is deprecated and will be a hard error in an upcoming edition
17   --> $DIR/macro-at-most-once-rep-2015-ques-sep.rs:15:10
18    |
19 LL |     ($(a)?+) => {}
20    |          ^
21    |
22    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
23    = note: for more information, see issue #48075 <https://github.com/rust-lang/rust/issues/48075>
24