]> git.proxmox.com Git - rustc.git/blob - tests/ui/hygiene/intercrate.rs
d9b5b789e4ab58848f04d1b6157a21878bcae8ca
[rustc.git] / tests / 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 }