]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/intercrate.rs
Sync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795'
[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 }