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