about summary refs log tree commit diff
path: root/tests/ui/resolve/issue-82865.rs
blob: 4dc12f2f58956d5cf784233579397fb0cd848f4d (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: use of unresolved module or unlinked crate `x`

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

fn main() {
    mac!();
}