]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/register-attr-tool-import.stderr
Rollup merge of #100115 - obeis:issue-99910, r=cjgillot
[rust.git] / src / test / ui / attributes / register-attr-tool-import.stderr
1 error: cannot use an explicitly registered attribute through an import
2   --> $DIR/register-attr-tool-import.rs:14:3
3    |
4 LL | #[renamed_attr]
5    |   ^^^^^^^^^^^^
6    |
7 note: the explicitly registered attribute imported here
8   --> $DIR/register-attr-tool-import.rs:11:5
9    |
10 LL | use attr as renamed_attr; // OK
11    |     ^^^^^^^^^^^^^^^^^^^^
12
13 error: cannot use a tool module through an import
14   --> $DIR/register-attr-tool-import.rs:15:3
15    |
16 LL | #[renamed_tool::attr]
17    |   ^^^^^^^^^^^^
18    |
19 note: the tool module imported here
20   --> $DIR/register-attr-tool-import.rs:12:5
21    |
22 LL | use tool as renamed_tool; // OK
23    |     ^^^^^^^^^^^^^^^^^^^^
24
25 error: cannot use a tool module through an import
26   --> $DIR/register-attr-tool-import.rs:15:3
27    |
28 LL | #[renamed_tool::attr]
29    |   ^^^^^^^^^^^^
30    |
31 note: the tool module imported here
32   --> $DIR/register-attr-tool-import.rs:12:5
33    |
34 LL | use tool as renamed_tool; // OK
35    |     ^^^^^^^^^^^^^^^^^^^^
36
37 error: aborting due to 3 previous errors
38