rust/src/test/ui/issues/issue-40845.rs
2018-12-25 21:08:33 -07:00

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