1error: cannot use a built-in attribute through an import
2  --> $DIR/prelude-fail-2.rs:15:3
3   |
4LL | #[imported_inline]
5   |   ^^^^^^^^^^^^^^^
6   |
7note: the built-in attribute imported here
8  --> $DIR/prelude-fail-2.rs:4:5
9   |
10LL | use inline as imported_inline;
11   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: cannot use a built-in attribute through an import
14  --> $DIR/prelude-fail-2.rs:16:3
15   |
16LL | #[builtin::imported_inline]
17   |   ^^^^^^^^^^^^^^^^^^^^^^^^
18
19error: cannot use a tool module through an import
20  --> $DIR/prelude-fail-2.rs:17:3
21   |
22LL | #[imported_rustfmt::skip]
23   |   ^^^^^^^^^^^^^^^^
24   |
25note: the tool module imported here
26  --> $DIR/prelude-fail-2.rs:10:5
27   |
28LL | use rustfmt as imported_rustfmt;
29   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31error: cannot use a tool module through an import
32  --> $DIR/prelude-fail-2.rs:19:13
33   |
34LL | #[tool_mod::imported_rustfmt::skip]
35   |             ^^^^^^^^^^^^^^^^
36   |
37note: the tool module imported here
38  --> $DIR/prelude-fail-2.rs:12:13
39   |
40LL |     pub use rustfmt as imported_rustfmt;
41   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
43error: cannot use a tool module through an import
44  --> $DIR/prelude-fail-2.rs:17:3
45   |
46LL | #[imported_rustfmt::skip]
47   |   ^^^^^^^^^^^^^^^^
48   |
49note: the tool module imported here
50  --> $DIR/prelude-fail-2.rs:10:5
51   |
52LL | use rustfmt as imported_rustfmt;
53   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
54
55error: cannot use a tool module through an import
56  --> $DIR/prelude-fail-2.rs:19:13
57   |
58LL | #[tool_mod::imported_rustfmt::skip]
59   |             ^^^^^^^^^^^^^^^^
60   |
61note: the tool module imported here
62  --> $DIR/prelude-fail-2.rs:12:13
63   |
64LL |     pub use rustfmt as imported_rustfmt;
65   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
67error: aborting due to 6 previous errors
68
69