We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6646248 commit e52a488Copy full SHA for e52a488
tests/source/type.rs
@@ -166,3 +166,9 @@ impl<T: ? const Trait> Foo<T> {
166
Self(t)
167
}
168
169
+
170
+// #4357
171
+type T = typeof(
172
+1);
173
+impl T for .. {
174
+}
tests/target/type.rs
@@ -177,3 +177,7 @@ impl<T: ?const Trait> Foo<T> {
177
178
179
180
181
182
+type T = typeof(1);
183
+impl T for .. {}
0 commit comments