mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
14 lines
225 B
Rust
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!();
|
|
}
|