]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/intercrate.rs
Rollup merge of #90202 - matthewjasper:xcrate-hygiene, r=petrochenkov
[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 }