rust/tests/ui/resolve/issue-82865.rs
2023-01-11 09:32:08 +00:00

14 lines
225 B
Rust

// 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!();
}