summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-40845.rs
blob: a4ede6adfa3c253081f64cc2ebc29f65672ec19c (plain)
1
2
3
4
5
6
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() {}