1 error[E0433]: failed to resolve: not a module `Y`
2 --> $DIR/ufcs-partially-resolved.rs:58:22
4 LL | let _: <u8 as E::Y>::NN; //~ ERROR failed to resolve: not a module `Y`
7 error[E0433]: failed to resolve: not a module `Y`
8 --> $DIR/ufcs-partially-resolved.rs:60:15
10 LL | <u8 as E::Y>::NN; //~ ERROR failed to resolve: not a module `Y`
13 error[E0576]: cannot find associated type `N` in trait `Tr`
14 --> $DIR/ufcs-partially-resolved.rs:29:24
16 LL | let _: <u8 as Tr>::N; //~ ERROR cannot find associated type `N` in trait `Tr`
19 error[E0576]: cannot find associated type `N` in enum `E`
20 --> $DIR/ufcs-partially-resolved.rs:30:23
22 LL | let _: <u8 as E>::N; //~ ERROR cannot find associated type `N` in enum `E`
25 error[E0576]: cannot find associated type `N` in `A`
26 --> $DIR/ufcs-partially-resolved.rs:31:23
28 LL | let _: <u8 as A>::N; //~ ERROR cannot find associated type `N` in `A`
31 error[E0576]: cannot find method or associated constant `N` in trait `Tr`
32 --> $DIR/ufcs-partially-resolved.rs:32:17
34 LL | <u8 as Tr>::N; //~ ERROR cannot find method or associated constant `N` in trait `Tr`
37 error[E0576]: cannot find method or associated constant `N` in enum `E`
38 --> $DIR/ufcs-partially-resolved.rs:33:16
40 LL | <u8 as E>::N; //~ ERROR cannot find method or associated constant `N` in enum `E`
43 error[E0576]: cannot find method or associated constant `N` in `A`
44 --> $DIR/ufcs-partially-resolved.rs:34:16
46 LL | <u8 as A>::N; //~ ERROR cannot find method or associated constant `N` in `A`
49 error[E0575]: expected associated type, found variant `E::Y`
50 --> $DIR/ufcs-partially-resolved.rs:36:12
52 LL | let _: <u8 as E>::Y; //~ ERROR expected associated type, found variant `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:38:5
58 LL | <u8 as E>::Y; //~ ERROR expected method or associated constant, found unit variant `E::Y`
59 | ^^^^^^^^^^^^ not a method or associated constant
61 error[E0576]: cannot find associated type `N` in trait `Tr`
62 --> $DIR/ufcs-partially-resolved.rs:40:24
64 LL | let _: <u8 as Tr>::N::NN; //~ ERROR cannot find associated type `N` in trait `Tr`
67 error[E0576]: cannot find associated type `N` in enum `E`
68 --> $DIR/ufcs-partially-resolved.rs:41:23
70 LL | let _: <u8 as E>::N::NN; //~ ERROR cannot find associated type `N` in enum `E`
73 error[E0576]: cannot find associated type `N` in `A`
74 --> $DIR/ufcs-partially-resolved.rs:42:23
76 LL | let _: <u8 as A>::N::NN; //~ ERROR cannot find associated type `N` in `A`
79 error[E0576]: cannot find associated type `N` in trait `Tr`
80 --> $DIR/ufcs-partially-resolved.rs:43:17
82 LL | <u8 as Tr>::N::NN; //~ ERROR cannot find associated type `N` in trait `Tr`
85 error[E0576]: cannot find associated type `N` in enum `E`
86 --> $DIR/ufcs-partially-resolved.rs:44:16
88 LL | <u8 as E>::N::NN; //~ ERROR cannot find associated type `N` in enum `E`
91 error[E0576]: cannot find associated type `N` in `A`
92 --> $DIR/ufcs-partially-resolved.rs:45:16
94 LL | <u8 as A>::N::NN; //~ ERROR cannot find associated type `N` in `A`
97 error[E0575]: expected associated type, found variant `E::Y`
98 --> $DIR/ufcs-partially-resolved.rs:47:12
100 LL | let _: <u8 as E>::Y::NN; //~ ERROR expected associated type, found variant `E::Y`
101 | ^^^^^^^^^^^^^^^^ not a associated type
103 error[E0575]: expected associated type, found variant `E::Y`
104 --> $DIR/ufcs-partially-resolved.rs:49:5
106 LL | <u8 as E>::Y::NN; //~ ERROR expected associated type, found variant `E::Y`
107 | ^^^^^^^^^^^^^^^^ not a associated type
109 error[E0576]: cannot find associated type `NN` in `Tr::N`
110 --> $DIR/ufcs-partially-resolved.rs:51:27
112 LL | let _: <u8 as Tr::N>::NN; //~ ERROR cannot find associated type `NN` in `Tr::N`
113 | ^^ not found in `Tr::N`
115 error[E0576]: cannot find associated type `NN` in `E::N`
116 --> $DIR/ufcs-partially-resolved.rs:52:26
118 LL | let _: <u8 as E::N>::NN; //~ ERROR cannot find associated type `NN` in `E::N`
119 | ^^ not found in `E::N`
121 error[E0576]: cannot find associated type `NN` in `A::N`
122 --> $DIR/ufcs-partially-resolved.rs:53:26
124 LL | let _: <u8 as A::N>::NN; //~ ERROR cannot find associated type `NN` in `A::N`
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:54:20
130 LL | <u8 as Tr::N>::NN; //~ ERROR cannot find method or associated constant `NN` in `Tr::N`
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:55:19
136 LL | <u8 as E::N>::NN; //~ ERROR cannot find method or associated constant `NN` in `E::N`
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:56:19
142 LL | <u8 as A::N>::NN; //~ ERROR cannot find method or associated constant `NN` in `A::N`
143 | ^^ not found in `A::N`
145 error[E0576]: cannot find associated type `NN` in `Tr::Y`
146 --> $DIR/ufcs-partially-resolved.rs:57:27
148 LL | let _: <u8 as Tr::Y>::NN; //~ ERROR cannot find associated type `NN` in `Tr::Y`
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:59:20
154 LL | <u8 as Tr::Y>::NN; //~ ERROR cannot find method or associated constant `NN` in `Tr::Y`
155 | ^^ not found in `Tr::Y`
157 error[E0575]: expected associated type, found method `Dr::Z`
158 --> $DIR/ufcs-partially-resolved.rs:62:12
160 LL | let _: <u8 as Dr>::Z; //~ ERROR expected associated type, found method `Dr::Z`
165 error[E0575]: expected method or associated constant, found associated type `Dr::X`
166 --> $DIR/ufcs-partially-resolved.rs:63:5
168 LL | <u8 as Dr>::X; //~ ERROR expected method or associated constant, found associated type `Dr::X`
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:64:12
178 LL | let _: <u8 as Dr>::Z::N; //~ ERROR expected associated type, found method `Dr::Z`
183 error[E0223]: ambiguous associated type
184 --> $DIR/ufcs-partially-resolved.rs:46:12
186 LL | let _: <u8 as Tr>::Y::NN; //~ ERROR ambiguous associated type
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:48:20
192 LL | <u8 as Tr>::Y::NN; //~ ERROR no associated item named `NN` found for type `<u8 as Tr>::Y`
195 | associated item not found in `<u8 as Tr>::Y`
197 error[E0599]: no associated item named `N` found for type `<u8 as Dr>::X` in the current scope
198 --> $DIR/ufcs-partially-resolved.rs:65:20
200 LL | <u8 as Dr>::X::N; //~ ERROR no associated item named `N` found for type `<u8 as Dr>::X`
203 | associated item not found in `<u8 as Dr>::X`
205 error: aborting due to 32 previous errors
207 Some errors occurred: E0223, E0433, E0575, E0576, E0599.
208 For more information about an error, try `rustc --explain E0223`.