We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c33df5 commit eaeda23Copy full SHA for eaeda23
tests/ui/lexer/custom-suffixes-exponent-like.rs
@@ -7,4 +7,10 @@ const _C: f64 = 1e_______________0m;
7
const _D: f64 = 1e_______________m;
8
//~^ ERROR invalid suffix `e_______________m` for number literal
9
10
+// All the above patterns should not generate an error when used in a macro
11
+macro_rules! do_nothing {
12
+ ($($toks:tt)*) => {};
13
+}
14
+do_nothing!(1em 1e0m 1e_______________0m 1e_______________m);
15
+
16
fn main() {}
0 commit comments