about summary refs log tree commit diff
path: root/tests/ui/hygiene/intercrate.rs
blob: eacd3874c47a17b3a2f3548a35ede73d4adf9f48 (plain)
1
2
3
4
5
6
7
8
9
10
//@ aux-build:intercrate.rs

#![feature(decl_macro)]

extern crate intercrate;

fn main() {
    assert_eq!(intercrate::foo::m!(), 1);
    //~^ ERROR type `fn() -> u32 {foo::bar::f}` is private
}