rust/tests/ui/issues/issue-40845.rs
2023-01-11 09:32:08 +00:00

7 lines
152 B
Rust

trait T { m!(); } //~ ERROR cannot find macro `m` in this scope
struct S;
impl S { m!(); } //~ ERROR cannot find macro `m` in this scope
fn main() {}