summaryrefslogtreecommitdiffstats
path: root/tests/ui/rust-2018/uniform-paths/cross-crate.stderr
blob: 8682c56d2a5a787c6480f7cae1ae3f0735da6ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
error: cannot use a built-in attribute through an import
  --> $DIR/cross-crate.rs:7:3
   |
LL | #[built_in_attr]
   |   ^^^^^^^^^^^^^
   |
note: the built-in attribute imported here
  --> $DIR/cross-crate.rs:5:5
   |
LL | use cross_crate::*;
   |     ^^^^^^^^^^^^^^

error: cannot use a tool module through an import
  --> $DIR/cross-crate.rs:8:3
   |
LL | #[tool_mod::skip]
   |   ^^^^^^^^
   |
note: the tool module imported here
  --> $DIR/cross-crate.rs:5:5
   |
LL | use cross_crate::*;
   |     ^^^^^^^^^^^^^^

error: cannot use a tool module through an import
  --> $DIR/cross-crate.rs:8:3
   |
LL | #[tool_mod::skip]
   |   ^^^^^^^^
   |
note: the tool module imported here
  --> $DIR/cross-crate.rs:5:5
   |
LL | use cross_crate::*;
   |     ^^^^^^^^^^^^^^
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error: aborting due to 3 previous errors