rust/tests/ui/macros/expr_2021_implicit_in_2024.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
306 B
Rust
Raw Normal View History

2024-11-22 07:20:22 -08:00
//@ edition: 2024
2024-06-19 12:33:25 -04:00
//@ aux-build:expr_2021_implicit.rs
2024-06-19 12:21:09 -04:00
//@ check-pass
2024-06-19 12:33:25 -04:00
extern crate expr_2021_implicit;
// Makes sure that a `:expr` fragment matcher defined in a edition 2021 crate
// still parses like an `expr_2021` fragment matcher in a 2024 user crate.
expr_2021_implicit::m!(const {});
fn main() {}