]> git.lizzy.rs Git - rust.git/blob - src/test/ui/ufcs/ufcs-partially-resolved.stderr
Update ui tests
[rust.git] / src / test / ui / ufcs / ufcs-partially-resolved.stderr
1 error[E0433]: failed to resolve: `Y` is a variant, not a module
2   --> $DIR/ufcs-partially-resolved.rs:48:22
3    |
4 LL |     let _: <u8 as E::Y>::NN;
5    |                      ^ `Y` is a variant, not a module
6
7 error[E0433]: failed to resolve: `Y` is a variant, not a module
8   --> $DIR/ufcs-partially-resolved.rs:50:15
9    |
10 LL |     <u8 as E::Y>::NN;
11    |               ^ `Y` is a variant, not a module
12
13 error[E0576]: cannot find associated type `N` in trait `Tr`
14   --> $DIR/ufcs-partially-resolved.rs:19:24
15    |
16 LL |     let _: <u8 as Tr>::N;
17    |                        ^ help: an associated type with a similar name exists: `Y`
18
19 error[E0576]: cannot find associated type `N` in enum `E`
20   --> $DIR/ufcs-partially-resolved.rs:20:23
21    |
22 LL |     let _: <u8 as E>::N;
23    |                       ^ not found in `E`
24
25 error[E0576]: cannot find associated type `N` in `A`
26   --> $DIR/ufcs-partially-resolved.rs:21:23
27    |
28 LL |     let _: <u8 as A>::N;
29    |                       ^ not found in `A`
30
31 error[E0576]: cannot find method or associated constant `N` in trait `Tr`
32   --> $DIR/ufcs-partially-resolved.rs:22:17
33    |
34 LL |     <u8 as Tr>::N;
35    |                 ^ help: a method with a similar name exists: `Y`
36
37 error[E0576]: cannot find method or associated constant `N` in enum `E`
38   --> $DIR/ufcs-partially-resolved.rs:23:16
39    |
40 LL |     <u8 as E>::N;
41    |                ^ not found in `E`
42
43 error[E0576]: cannot find method or associated constant `N` in `A`
44   --> $DIR/ufcs-partially-resolved.rs:24:16
45    |
46 LL |     <u8 as A>::N;
47    |                ^ not found in `A`
48
49 error[E0575]: expected associated type, found variant `E::Y`
50   --> $DIR/ufcs-partially-resolved.rs:26:12
51    |
52 LL |     let _: <u8 as E>::Y;
53    |            ^^^^^^^^^^^^ not a associated type
54
55 error[E0575]: expected method or associated constant, found unit variant `E::Y`
56   --> $DIR/ufcs-partially-resolved.rs:28:5
57    |
58 LL |     <u8 as E>::Y;
59    |     ^^^^^^^^^^^^ not a method or associated constant
60
61 error[E0576]: cannot find associated type `N` in trait `Tr`
62   --> $DIR/ufcs-partially-resolved.rs:30:24
63    |
64 LL |     let _: <u8 as Tr>::N::NN;
65    |                        ^ help: an associated type with a similar name exists: `Y`
66
67 error[E0576]: cannot find associated type `N` in enum `E`
68   --> $DIR/ufcs-partially-resolved.rs:31:23
69    |
70 LL |     let _: <u8 as E>::N::NN;
71    |                       ^ not found in `E`
72
73 error[E0576]: cannot find associated type `N` in `A`
74   --> $DIR/ufcs-partially-resolved.rs:32:23
75    |
76 LL |     let _: <u8 as A>::N::NN;
77    |                       ^ not found in `A`
78
79 error[E0576]: cannot find associated type `N` in trait `Tr`
80   --> $DIR/ufcs-partially-resolved.rs:33:17
81    |
82 LL |     <u8 as Tr>::N::NN;
83    |                 ^ help: an associated type with a similar name exists: `Y`
84
85 error[E0576]: cannot find associated type `N` in enum `E`
86   --> $DIR/ufcs-partially-resolved.rs:34:16
87    |
88 LL |     <u8 as E>::N::NN;
89    |                ^ not found in `E`
90
91 error[E0576]: cannot find associated type `N` in `A`
92   --> $DIR/ufcs-partially-resolved.rs:35:16
93    |
94 LL |     <u8 as A>::N::NN;
95    |                ^ not found in `A`
96
97 error[E0575]: expected associated type, found variant `E::Y`
98   --> $DIR/ufcs-partially-resolved.rs:37:12
99    |
100 LL |     let _: <u8 as E>::Y::NN;
101    |            ^^^^^^^^^^^^^^^^ not a associated type
102
103 error[E0575]: expected associated type, found variant `E::Y`
104   --> $DIR/ufcs-partially-resolved.rs:39:5
105    |
106 LL |     <u8 as E>::Y::NN;
107    |     ^^^^^^^^^^^^^^^^ not a associated type
108
109 error[E0576]: cannot find associated type `NN` in `Tr::N`
110   --> $DIR/ufcs-partially-resolved.rs:41:27
111    |
112 LL |     let _: <u8 as Tr::N>::NN;
113    |                           ^^ not found in `Tr::N`
114
115 error[E0576]: cannot find associated type `NN` in `E::N`
116   --> $DIR/ufcs-partially-resolved.rs:42:26
117    |
118 LL |     let _: <u8 as E::N>::NN;
119    |                          ^^ not found in `E::N`
120
121 error[E0576]: cannot find associated type `NN` in `A::N`
122   --> $DIR/ufcs-partially-resolved.rs:43:26
123    |
124 LL |     let _: <u8 as A::N>::NN;
125    |                          ^^ not found in `A::N`
126
127 error[E0576]: cannot find method or associated constant `NN` in `Tr::N`
128   --> $DIR/ufcs-partially-resolved.rs:44:20
129    |
130 LL |     <u8 as Tr::N>::NN;
131    |                    ^^ not found in `Tr::N`
132
133 error[E0576]: cannot find method or associated constant `NN` in `E::N`
134   --> $DIR/ufcs-partially-resolved.rs:45:19
135    |
136 LL |     <u8 as E::N>::NN;
137    |                   ^^ not found in `E::N`
138
139 error[E0576]: cannot find method or associated constant `NN` in `A::N`
140   --> $DIR/ufcs-partially-resolved.rs:46:19
141    |
142 LL |     <u8 as A::N>::NN;
143    |                   ^^ not found in `A::N`
144
145 error[E0576]: cannot find associated type `NN` in `Tr::Y`
146   --> $DIR/ufcs-partially-resolved.rs:47:27
147    |
148 LL |     let _: <u8 as Tr::Y>::NN;
149    |                           ^^ not found in `Tr::Y`
150
151 error[E0576]: cannot find method or associated constant `NN` in `Tr::Y`
152   --> $DIR/ufcs-partially-resolved.rs:49:20
153    |
154 LL |     <u8 as Tr::Y>::NN;
155    |                    ^^ not found in `Tr::Y`
156
157 error[E0575]: expected associated type, found method `Dr::Z`
158   --> $DIR/ufcs-partially-resolved.rs:52:12
159    |
160 LL |     let _: <u8 as Dr>::Z;
161    |            ^^^^^^^^^^^^-
162    |                        |
163    |                        help: an associated type with a similar name exists: `X`
164
165 error[E0575]: expected method or associated constant, found associated type `Dr::X`
166   --> $DIR/ufcs-partially-resolved.rs:53:5
167    |
168 LL |     <u8 as Dr>::X;
169    |     ^^^^^^^^^^^^-
170    |                 |
171    |                 help: a method with a similar name exists: `Z`
172    |
173    = note: can't use a type alias as a constructor
174
175 error[E0575]: expected associated type, found method `Dr::Z`
176   --> $DIR/ufcs-partially-resolved.rs:54:12
177    |
178 LL |     let _: <u8 as Dr>::Z::N;
179    |            ^^^^^^^^^^^^-^^^
180    |                        |
181    |                        help: an associated type with a similar name exists: `X`
182
183 error[E0223]: ambiguous associated type
184   --> $DIR/ufcs-partially-resolved.rs:36:12
185    |
186 LL |     let _: <u8 as Tr>::Y::NN;
187    |            ^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<<u8 as Tr>::Y as Trait>::NN`
188
189 error[E0599]: no associated item named `NN` found for type `<u8 as Tr>::Y` in the current scope
190   --> $DIR/ufcs-partially-resolved.rs:38:20
191    |
192 LL |     <u8 as Tr>::Y::NN;
193    |                    ^^ associated item not found in `<u8 as Tr>::Y`
194
195 error[E0599]: no associated item named `N` found for type `<u8 as Dr>::X` in the current scope
196   --> $DIR/ufcs-partially-resolved.rs:55:20
197    |
198 LL |     <u8 as Dr>::X::N;
199    |                    ^ associated item not found in `<u8 as Dr>::X`
200
201 error: aborting due to 32 previous errors
202
203 Some errors have detailed explanations: E0223, E0433, E0575, E0599.
204 For more information about an error, try `rustc --explain E0223`.