fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
560 B26 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: aborting due to 2 previous errors
26