I tried this code:
#[macro_export(hello, world)]
macro_rules! foo {
() => {}
}
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=9c40221c498bdc99beb7022d53fdb086
I expected to see this happen: it shouldn't compile
Instead, this happened: it compiles
Meta
rustc --version --verbose:
Backtrace
I tried this code:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=9c40221c498bdc99beb7022d53fdb086
I expected to see this happen: it shouldn't compile
Instead, this happened: it compiles
Meta
rustc --version --verbose:Backtrace