1 error: cannot use a built-in attribute through an import
2 --> $DIR/prelude-fail-2.rs:15:3
4 LL | #[imported_inline]
7 note: the built-in attribute imported here
8 --> $DIR/prelude-fail-2.rs:4:5
10 LL | use inline as imported_inline;
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: cannot use a built-in attribute through an import
14 --> $DIR/prelude-fail-2.rs:16:3
16 LL | #[builtin::imported_inline]
17 | ^^^^^^^^^^^^^^^^^^^^^^^^
19 error: cannot use a tool module through an import
20 --> $DIR/prelude-fail-2.rs:17:3
22 LL | #[imported_rustfmt::skip]
25 note: the tool module imported here
26 --> $DIR/prelude-fail-2.rs:10:5
28 LL | use rustfmt as imported_rustfmt;
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
31 error: cannot use a tool module through an import
32 --> $DIR/prelude-fail-2.rs:18:13
34 LL | #[tool_mod::imported_rustfmt::skip]
37 note: the tool module imported here
38 --> $DIR/prelude-fail-2.rs:12:13
40 LL | pub use rustfmt as imported_rustfmt;
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
43 error: aborting due to 4 previous errors