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
16 LL | let _: <u8 as Tr>::N;
17 | ^ help: an associated type with a similar name exists: `Y`
19 error[E0576]: cannot find associated type `N` in enum `E`
20 --> $DIR/ufcs-partially-resolved.rs:20:23
22 LL | let _: <u8 as E>::N;
25 error[E0576]: cannot find associated type `N` in `A`
26 --> $DIR/ufcs-partially-resolved.rs:21:23
28 LL | let _: <u8 as A>::N;
31 error[E0576]: cannot find method or associated constant `N` in trait `Tr`
32 --> $DIR/ufcs-partially-resolved.rs:22:17
35 | ^ help: a method with a similar name exists: `Y`
37 error[E0576]: cannot find method or associated constant `N` in enum `E`
38 --> $DIR/ufcs-partially-resolved.rs:23:16
43 error[E0576]: cannot find method or associated constant `N` in `A`
44 --> $DIR/ufcs-partially-resolved.rs:24:16
49 error[E0575]: expected associated type, found variant `E::Y`
50 --> $DIR/ufcs-partially-resolved.rs:26:12
52 LL | let _: <u8 as E>::Y;
53 | ^^^^^^^^^^^^ not a associated type
55 error[E0575]: expected method or associated constant, found unit variant `E::Y`
56 --> $DIR/ufcs-partially-resolved.rs:28:5
59 | ^^^^^^^^^^^^ not a method or associated constant
61 error[E0576]: cannot find associated type `N` in trait `Tr`
62 --> $DIR/ufcs-partially-resolved.rs:30:24
64 LL | let _: <u8 as Tr>::N::NN;
65 | ^ help: an associated type with a similar name exists: `Y`
67 error[E0576]: cannot find associated type `N` in enum `E`
68 --> $DIR/ufcs-partially-resolved.rs:31:23
70 LL | let _: <u8 as E>::N::NN;
73 error[E0576]: cannot find associated type `N` in `A`
74 --> $DIR/ufcs-partially-resolved.rs:32:23
76 LL | let _: <u8 as A>::N::NN;
79 error[E0576]: cannot find associated type `N` in trait `Tr`
80 --> $DIR/ufcs-partially-resolved.rs:33:17
82 LL | <u8 as Tr>::N::NN;
83 | ^ help: an associated type with a similar name exists: `Y`
85 error[E0576]: cannot find associated type `N` in enum `E`
86 --> $DIR/ufcs-partially-resolved.rs:34:16
88 LL | <u8 as E>::N::NN;
91 error[E0576]: cannot find associated type `N` in `A`
92 --> $DIR/ufcs-partially-resolved.rs:35:16
94 LL | <u8 as A>::N::NN;
97 error[E0575]: expected associated type, found variant `E::Y`
98 --> $DIR/ufcs-partially-resolved.rs:37:12
100 LL | let _: <u8 as E>::Y::NN;
101 | ^^^^^^^^^^^^^^^^ not a associated type
103 error[E0575]: expected associated type, found variant `E::Y`
104 --> $DIR/ufcs-partially-resolved.rs:39:5
106 LL | <u8 as E>::Y::NN;
107 | ^^^^^^^^^^^^^^^^ not a associated type
109 error[E0576]: cannot find associated type `NN` in `Tr::N`
110 --> $DIR/ufcs-partially-resolved.rs:41:27
112 LL | let _: <u8 as Tr::N>::NN;
113 | ^^ not found in `Tr::N`
115 error[E0576]: cannot find associated type `NN` in `E::N`
116 --> $DIR/ufcs-partially-resolved.rs:42:26
118 LL | let _: <u8 as E::N>::NN;
119 | ^^ not found in `E::N`
121 error[E0576]: cannot find associated type `NN` in `A::N`
122 --> $DIR/ufcs-partially-resolved.rs:43:26
124 LL | let _: <u8 as A::N>::NN;
125 | ^^ not found in `A::N`
127 error[E0576]: cannot find method or associated constant `NN` in `Tr::N`
128 --> $DIR/ufcs-partially-resolved.rs:44:20
130 LL | <u8 as Tr::N>::NN;
131 | ^^ not found in `Tr::N`
133 error[E0576]: cannot find method or associated constant `NN` in `E::N`
134 --> $DIR/ufcs-partially-resolved.rs:45:19
136 LL | <u8 as E::N>::NN;
137 | ^^ not found in `E::N`
139 error[E0576]: cannot find method or associated constant `NN` in `A::N`
140 --> $DIR/ufcs-partially-resolved.rs:46:19
142 LL | <u8 as A::N>::NN;
143 | ^^ not found in `A::N`
145 error[E0576]: cannot find associated type `NN` in `Tr::Y`
146 --> $DIR/ufcs-partially-resolved.rs:47:27
148 LL | let _: <u8 as Tr::Y>::NN;
149 | ^^ not found in `Tr::Y`
151 error[E0576]: cannot find method or associated constant `NN` in `Tr::Y`
152 --> $DIR/ufcs-partially-resolved.rs:49:20
154 LL | <u8 as Tr::Y>::NN;
155 | ^^ not found in `Tr::Y`
157 error[E0575]: expected associated type, found method `Dr::Z`
158 --> $DIR/ufcs-partially-resolved.rs:52:12
160 LL | let _: <u8 as Dr>::Z;
163 | help: an associated type with a similar name exists: `X`
165 error[E0575]: expected method or associated constant, found associated type `Dr::X`
166 --> $DIR/ufcs-partially-resolved.rs:53:5
171 | help: a method with a similar name exists: `Z`
173 = note: can't use a type alias as a constructor
175 error[E0575]: expected associated type, found method `Dr::Z`
176 --> $DIR/ufcs-partially-resolved.rs:54:12
178 LL | let _: <u8 as Dr>::Z::N;
181 | help: an associated type with a similar name exists: `X`
183 error[E0223]: ambiguous associated type
184 --> $DIR/ufcs-partially-resolved.rs:36:12
186 LL | let _: <u8 as Tr>::Y::NN;
187 | ^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<<u8 as Tr>::Y as Trait>::NN`
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
192 LL | <u8 as Tr>::Y::NN;
193 | ^^ associated item not found in `<u8 as Tr>::Y`
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
198 LL | <u8 as Dr>::X::N;
199 | ^ associated item not found in `<u8 as Dr>::X`
201 error: aborting due to 32 previous errors
203 Some errors have detailed explanations: E0223, E0433, E0575, E0599.
204 For more information about an error, try `rustc --explain E0223`.