mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-03 06:25:40 +00:00
Given
```rust
macro_rules! a {
( ) => {
impl<'b> c for d {
e::<f'g>
}
};
}
```
ensure an error is emitted.
Fix #123079.
10 lines
159 B
Rust
10 lines
159 B
Rust
//@ edition:2021
|
|
macro_rules! a {
|
|
( ) => {
|
|
impl<'b> c for d {
|
|
e::<f'g> //~ ERROR prefix `f` is unknown
|
|
}
|
|
};
|
|
}
|
|
fn main() {}
|