1 error[E0433]: failed to resolve: `Y` is a variant, not a module
2 --> $DIR/ufcs-partially-resolved.rs:48:22
4 LL | let _: <u8 as E::Y>::NN;
5 | ^ `Y` is a variant, not a module
7 error[E0433]: failed to resolve: `Y` is a variant, not a module
8 --> $DIR/ufcs-partially-resolved.rs:50:15
10 LL | <u8 as E::Y>::NN;
11 | ^ `Y` is a variant, not a module
13 error[E0576]: cannot find associated type `N` in trait `Tr`
14 --> $DIR/ufcs-partially-resolved.rs:19:24
17 | ------------- similarly named associated type `Y` defined here
19 LL | let _: <u8 as Tr>::N;
20 | ^ help: an associated type with a similar name exists: `Y`
22 error[E0576]: cannot find associated type `N` in enum `E`
23 --> $DIR/ufcs-partially-resolved.rs:20:23
25 LL | let _: <u8 as E>::N;
28 error[E0576]: cannot find associated type `N` in `A`
29 --> $DIR/ufcs-partially-resolved.rs:21:23
31 LL | let _: <u8 as A>::N;
34 error[E0576]: cannot find method or associated constant `N` in trait `Tr`
35 --> $DIR/ufcs-partially-resolved.rs:22:17
38 | ------ similarly named associated function `Y` defined here
41 | ^ help: an associated function with a similar name exists: `Y`
43 error[E0576]: cannot find method or associated constant `N` in enum `E`
44 --> $DIR/ufcs-partially-resolved.rs:23:16
49 error[E0576]: cannot find method or associated constant `N` in `A`
50 --> $DIR/ufcs-partially-resolved.rs:24:16
55 error[E0575]: expected associated type, found variant `E::Y`
56 --> $DIR/ufcs-partially-resolved.rs:26:12
58 LL | let _: <u8 as E>::Y;
59 | ^^^^^^^^^^^^ not a associated type
61 error[E0575]: expected method or associated constant, found unit variant `E::Y`
62 --> $DIR/ufcs-partially-resolved.rs:28:5
65 | ^^^^^^^^^^^^ not a method or associated constant
67 error[E0576]: cannot find associated type `N` in trait `Tr`
68 --> $DIR/ufcs-partially-resolved.rs:30:24
71 | ------------- similarly named associated type `Y` defined here
73 LL | let _: <u8 as Tr>::N::NN;
74 | ^ help: an associated type with a similar name exists: `Y`
76 error[E0576]: cannot find associated type `N` in enum `E`
77 --> $DIR/ufcs-partially-resolved.rs:31:23
79 LL | let _: <u8 as E>::N::NN;
82 error[E0576]: cannot find associated type `N` in `A`
83 --> $DIR/ufcs-partially-resolved.rs:32:23
85 LL | let _: <u8 as A>::N::NN;
88 error[E0576]: cannot find associated type `N` in trait `Tr`
89 --> $DIR/ufcs-partially-resolved.rs:33:17
92 | ------------- similarly named associated type `Y` defined here
94 LL | <u8 as Tr>::N::NN;
95 | ^ help: an associated type with a similar name exists: `Y`
97 error[E0576]: cannot find associated type `N` in enum `E`
98 --> $DIR/ufcs-partially-resolved.rs:34:16
100 LL | <u8 as E>::N::NN;
103 error[E0576]: cannot find associated type `N` in `A`
104 --> $DIR/ufcs-partially-resolved.rs:35:16
106 LL | <u8 as A>::N::NN;
109 error[E0575]: expected associated type, found variant `E::Y`
110 --> $DIR/ufcs-partially-resolved.rs:37:12
112 LL | let _: <u8 as E>::Y::NN;
113 | ^^^^^^^^^^^^^^^^ not a associated type
115 error[E0575]: expected associated type, found variant `E::Y`
116 --> $DIR/ufcs-partially-resolved.rs:39:5
118 LL | <u8 as E>::Y::NN;
119 | ^^^^^^^^^^^^^^^^ not a associated type
121 error[E0576]: cannot find associated type `NN` in `Tr::N`
122 --> $DIR/ufcs-partially-resolved.rs:41:27
124 LL | let _: <u8 as Tr::N>::NN;
125 | ^^ not found in `Tr::N`
127 error[E0576]: cannot find associated type `NN` in `E::N`
128 --> $DIR/ufcs-partially-resolved.rs:42:26
130 LL | let _: <u8 as E::N>::NN;
131 | ^^ not found in `E::N`
133 error[E0576]: cannot find associated type `NN` in `A::N`
134 --> $DIR/ufcs-partially-resolved.rs:43:26
136 LL | let _: <u8 as A::N>::NN;
137 | ^^ not found in `A::N`
139 error[E0576]: cannot find method or associated constant `NN` in `Tr::N`
140 --> $DIR/ufcs-partially-resolved.rs:44:20
142 LL | <u8 as Tr::N>::NN;
143 | ^^ not found in `Tr::N`
145 error[E0576]: cannot find method or associated constant `NN` in `E::N`
146 --> $DIR/ufcs-partially-resolved.rs:45:19
148 LL | <u8 as E::N>::NN;
149 | ^^ not found in `E::N`
151 error[E0576]: cannot find method or associated constant `NN` in `A::N`
152 --> $DIR/ufcs-partially-resolved.rs:46:19
154 LL | <u8 as A::N>::NN;
155 | ^^ not found in `A::N`
157 error[E0576]: cannot find associated type `NN` in `Tr::Y`
158 --> $DIR/ufcs-partially-resolved.rs:47:27
160 LL | let _: <u8 as Tr::Y>::NN;
161 | ^^ not found in `Tr::Y`
163 error[E0576]: cannot find method or associated constant `NN` in `Tr::Y`
164 --> $DIR/ufcs-partially-resolved.rs:49:20
166 LL | <u8 as Tr::Y>::NN;
167 | ^^ not found in `Tr::Y`
169 error[E0575]: expected associated type, found associated function `Dr::Z`
170 --> $DIR/ufcs-partially-resolved.rs:52:12
173 | ------------- similarly named associated type `X` defined here
175 LL | let _: <u8 as Dr>::Z;
178 | help: an associated type with a similar name exists: `X`
180 error[E0575]: expected method or associated constant, found associated type `Dr::X`
181 --> $DIR/ufcs-partially-resolved.rs:53:5
184 | ------ similarly named associated function `Z` defined here
189 | help: an associated function with a similar name exists: `Z`
191 = note: can't use a type alias as a constructor
193 error[E0575]: expected associated type, found associated function `Dr::Z`
194 --> $DIR/ufcs-partially-resolved.rs:54:12
197 | ------------- similarly named associated type `X` defined here
199 LL | let _: <u8 as Dr>::Z::N;
202 | help: an associated type with a similar name exists: `X`
204 error[E0223]: ambiguous associated type
205 --> $DIR/ufcs-partially-resolved.rs:36:12
207 LL | let _: <u8 as Tr>::Y::NN;
208 | ^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<<u8 as Tr>::Y as Trait>::NN`
210 error[E0599]: no associated item named `NN` found for type `u16` in the current scope
211 --> $DIR/ufcs-partially-resolved.rs:38:20
213 LL | <u8 as Tr>::Y::NN;
214 | ^^ associated item not found in `u16`
216 error[E0599]: no associated item named `N` found for type `u16` in the current scope
217 --> $DIR/ufcs-partially-resolved.rs:55:20
219 LL | <u8 as Dr>::X::N;
220 | ^ associated item not found in `u16`
222 error: aborting due to 32 previous errors
224 Some errors have detailed explanations: E0223, E0433, E0575, E0576, E0599.
225 For more information about an error, try `rustc --explain E0223`.