f364011955
- use feature_err to report unstable expr_2021 - Update downlevel expr_2021 diagnostics Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
12 lines
198 B
Rust
12 lines
198 B
Rust
//@ compile-flags: --edition=2024 -Z unstable-options
|
|
|
|
macro_rules! m {
|
|
($e:expr_2021) => { //~ ERROR: fragment specifier `expr_2021` is unstable
|
|
$e
|
|
};
|
|
}
|
|
|
|
fn main() {
|
|
m!(());
|
|
}
|