]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/intercrate.rs
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
[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 }