blob: de03866219cf9ff4e950a6c99c6a9193485e45fc (
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
}
|