]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/intercrate.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui / hygiene / intercrate.rs
1 // ignore-pretty pretty-printing is unhygienic
2
3 // aux-build:intercrate.rs
4
5 #![feature(decl_macro)]
6
7 extern crate intercrate;
8
9 fn main() {
10     assert_eq!(intercrate::foo::m!(), 1);
11     //~^ ERROR type `fn() -> u32 {foo::bar::f}` is private
12 }