Example error message:
error: expected `*` or `+`
--> src/libcore/macros.rs:767:41
|
767 | impl $( <$( $lifetime ),+> )? Fn<(&'a str,)> for $Name {
| ^
|
= note: `?` is not a macro repetition operator
But it is! I couldn’t figure it out without asking on IRC what’s going on. It is a repetition operator… but not in the 2015 edition. Switching to 2018 would make this error go away.
The error message should mention this.
Example error message:
But it is! I couldn’t figure it out without asking on IRC what’s going on. It is a repetition operator… but not in the 2015 edition. Switching to 2018 would make this error go away.
The error message should mention this.