We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The following code:
trait Trait {} impl Trait for () {} fn foo<T: Trait, U: Trait>() -> impl Trait { let a: T = foo::<T, U>(); loop {} let _: T = foo::<U, T>(); }
used to incorrectly compile but now correctly errors, we should add a test to ensure this doesn't regress.
cc #111853 @compiler-errors