rust/tests/ui/resolve/issue-82865.rs

14 lines
225 B
Rust
Raw Normal View History

2021-03-29 13:31:53 -05:00
// 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!();
}