summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/issue-82865.rs
blob: 07d88c413bfa84b57a5bdaa32555d9ce1283a8a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Regression test for #82865.

#![feature(decl_macro)]

use x::y::z; //~ ERROR: failed to resolve: maybe a missing crate `x`?

macro mac () {
    Box::z //~ ERROR: no function or associated item
}

fn main() {
    mac!();
}