We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9912d5c + 20414b8 commit 79f8a60Copy full SHA for 79f8a60
tests/ui/weird-exprs.rs
@@ -256,6 +256,20 @@ fn fake_macros() -> impl std::fmt::Debug {
256
}
257
258
259
+fn fish_fight() {
260
+ trait Rope {
261
+ fn _____________<U>(_: Self, _: U) where Self: Sized {}
262
+ }
263
+
264
+ struct T;
265
266
+ impl Rope for T {}
267
268
+ fn tug_o_war(_: impl Fn(T, T)) {}
269
270
+ tug_o_war(<T>::_____________::<T>);
271
+}
272
273
pub fn main() {
274
strange();
275
funny();
@@ -284,4 +298,5 @@ pub fn main() {
284
298
infcx();
285
299
return_already();
286
300
fake_macros();
301
+ fish_fight();
287
302
0 commit comments