rust/src/test/ui/feature-gate-macro_at_most_once_rep.stderr

12 lines
435 B
Plaintext
Raw Normal View History

2018-06-25 21:29:13 -05:00
error[E0658]: using the `?` macro Kleene operator for "at most one" repetition is unstable (see issue #48075)
2018-01-26 16:34:26 -06:00
--> $DIR/feature-gate-macro_at_most_once_rep.rs:14:20
2018-01-26 16:16:43 -06:00
|
2018-02-23 03:42:32 +03:00
LL | macro_rules! m { ($(a)?) => {} }
2018-01-26 16:34:26 -06:00
| ^^^
2018-01-26 16:16:43 -06:00
|
= help: add #![feature(macro_at_most_once_rep)] to the crate attributes to enable
error: aborting due to previous error
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0658`.