]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-82865.rs
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / resolve / issue-82865.rs
1 // Regression test for #82865.
2
3 #![feature(decl_macro)]
4
5 use x::y::z; //~ ERROR: failed to resolve: maybe a missing crate `x`?
6
7 macro mac () {
8     Box::z //~ ERROR: no function or associated item
9 }
10
11 fn main() {
12     mac!();
13 }