]> git.lizzy.rs Git - rust.git/blob - src/test/ui/conditional-compilation/cfg_accessible-not_sure.edition2021.stderr
Add tests for "not sure" case of cfg_accessible
[rust.git] / src / test / ui / conditional-compilation / cfg_accessible-not_sure.edition2021.stderr
1 error: not sure whether the path is accessible or not
2   --> $DIR/cfg_accessible-not_sure.rs:14:18
3    |
4 LL | #[cfg_accessible(Struct::existing)]
5    |                  ^^^^^^^^^^^^^^^^
6    |
7    = note: the type may have associated items, but we are currently not checking them
8
9 error: not sure whether the path is accessible or not
10   --> $DIR/cfg_accessible-not_sure.rs:16:18
11    |
12 LL | #[cfg_accessible(Struct::unresolved)]
13    |                  ^^^^^^^^^^^^^^^^^^
14    |
15    = note: the type may have associated items, but we are currently not checking them
16
17 error: not sure whether the path is accessible or not
18   --> $DIR/cfg_accessible-not_sure.rs:25:18
19    |
20 LL | #[cfg_accessible(Union::existing)]
21    |                  ^^^^^^^^^^^^^^^
22    |
23    = note: the type may have associated items, but we are currently not checking them
24
25 error: not sure whether the path is accessible or not
26   --> $DIR/cfg_accessible-not_sure.rs:27:18
27    |
28 LL | #[cfg_accessible(Union::unresolved)]
29    |                  ^^^^^^^^^^^^^^^^^
30    |
31    = note: the type may have associated items, but we are currently not checking them
32
33 error: not sure whether the path is accessible or not
34   --> $DIR/cfg_accessible-not_sure.rs:36:18
35    |
36 LL | #[cfg_accessible(Enum::unresolved)]
37    |                  ^^^^^^^^^^^^^^^^
38    |
39    = note: the type may have associated items, but we are currently not checking them
40
41 error: not sure whether the path is accessible or not
42   --> $DIR/cfg_accessible-not_sure.rs:46:18
43    |
44 LL | #[cfg_accessible(Trait::existing)]
45    |                  ^^^^^^^^^^^^^^^
46    |
47    = note: the type may have associated items, but we are currently not checking them
48
49 error: not sure whether the path is accessible or not
50   --> $DIR/cfg_accessible-not_sure.rs:48:18
51    |
52 LL | #[cfg_accessible(Trait::unresolved)]
53    |                  ^^^^^^^^^^^^^^^^^
54    |
55    = note: the type may have associated items, but we are currently not checking them
56
57 error: not sure whether the path is accessible or not
58   --> $DIR/cfg_accessible-not_sure.rs:55:18
59    |
60 LL | #[cfg_accessible(TypeAlias::existing)]
61    |                  ^^^^^^^^^^^^^^^^^^^
62    |
63    = note: the type may have associated items, but we are currently not checking them
64
65 error: not sure whether the path is accessible or not
66   --> $DIR/cfg_accessible-not_sure.rs:57:18
67    |
68 LL | #[cfg_accessible(TypeAlias::unresolved)]
69    |                  ^^^^^^^^^^^^^^^^^^^^^
70    |
71    = note: the type may have associated items, but we are currently not checking them
72
73 error: not sure whether the path is accessible or not
74   --> $DIR/cfg_accessible-not_sure.rs:66:18
75    |
76 LL | #[cfg_accessible(ForeignType::unresolved)]
77    |                  ^^^^^^^^^^^^^^^^^^^^^^^
78    |
79    = note: the type may have associated items, but we are currently not checking them
80
81 error: not sure whether the path is accessible or not
82   --> $DIR/cfg_accessible-not_sure.rs:75:18
83    |
84 LL | #[cfg_accessible(AssocType::AssocType::unresolved)]
85    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86    |
87    = note: the type may have associated items, but we are currently not checking them
88
89 error: not sure whether the path is accessible or not
90   --> $DIR/cfg_accessible-not_sure.rs:80:18
91    |
92 LL | #[cfg_accessible(u8::unresolved)]
93    |                  ^^^^^^^^^^^^^^
94    |
95    = note: the type may have associated items, but we are currently not checking them
96
97 error: not sure whether the path is accessible or not
98   --> $DIR/cfg_accessible-not_sure.rs:82:18
99    |
100 LL | #[cfg_accessible(u8::is_ascii)]
101    |                  ^^^^^^^^^^^^
102    |
103    = note: the type may have associated items, but we are currently not checking them
104
105 error: aborting due to 13 previous errors
106