mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00

This was attempted in [1] then reverted in [2] because of fallout. Recently, this was made an edition-dependent error in [3]. Make missing fragment specifiers an unconditional error again. [1]: https://github.com/rust-lang/rust/pull/75516 [2]: https://github.com/rust-lang/rust/pull/80210 [3]: https://github.com/rust-lang/rust/pull/128006
8 lines
105 B
Rust
8 lines
105 B
Rust
#![allow(unused)]
|
|
|
|
macro_rules! m {
|
|
($i) => {}; //~ ERROR missing fragment specifier
|
|
}
|
|
|
|
fn main() {}
|