I am trying to use the letter "E" within a Rust macro without triggering mathematical exponents. Here is an example:
macro_rules! test {
(0e) => {
// Do something
};
}
fn main() {
test!(0e);
}
This gives the error error: expected at least one digit in exponent
. Is it possible to ignore? I know I can write this is other ways, but I would prefer to write it in this way due to consistency.
Thank you.