rust/tests/ui/issues/issue-40845.rs

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() {}