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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
225 B
Rust
Raw Normal View History

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