summaryrefslogtreecommitdiffstats
path: root/tests/ui/rust-2018/uniform-paths/cross-crate.rs
blob: 0ca7fa37a3096b547b45315107ea3de653b3c8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// edition:2018
// aux-build:cross-crate.rs

extern crate cross_crate;
use cross_crate::*;

#[built_in_attr] //~ ERROR cannot use a built-in attribute through an import
#[tool_mod::skip] //~ ERROR cannot use a tool module through an import
                  //~| ERROR cannot use a tool module through an import
fn main() {
    let _: built_in_type; // OK
}