mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +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!();
|
|
}
|