fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
810 B38 linesraw
1error: cannot use a built-in attribute through an import
2  --> $DIR/cross-crate.rs:7:3
3   |
4LL | #[built_in_attr]
5   |   ^^^^^^^^^^^^^
6   |
7note: the built-in attribute imported here
8  --> $DIR/cross-crate.rs:5:5
9   |
10LL | use cross_crate::*;
11   |     ^^^^^^^^^^^^^^
12
13error: cannot use a tool module through an import
14  --> $DIR/cross-crate.rs:8:3
15   |
16LL | #[tool_mod::skip]
17   |   ^^^^^^^^
18   |
19note: the tool module imported here
20  --> $DIR/cross-crate.rs:5:5
21   |
22LL | use cross_crate::*;
23   |     ^^^^^^^^^^^^^^
24
25error: cannot use a tool module through an import
26  --> $DIR/cross-crate.rs:8:3
27   |
28LL | #[tool_mod::skip]
29   |   ^^^^^^^^
30   |
31note: the tool module imported here
32  --> $DIR/cross-crate.rs:5:5
33   |
34LL | use cross_crate::*;
35   |     ^^^^^^^^^^^^^^
36
37error: aborting due to 3 previous errors
38