We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
only necessary after rust-lang/rust#140497 rust-lang/rust#140405
my worry is something like this, even if I can't quite exploit it
trait Trait { type Assoc; } impl<T> Trait for T { type Assoc = String; } fn get_assoc<T: Trait>(x: T) -> T::Assoc { loop {} } fn foo<T: Copy + Default>(x: T) -> impl Trait<Assoc = String> + Default + Copy { let mut y = Default::default(); let mut inf1 = Default::default(); inf1 = foo(y); let inf = Default::default(); if false { return inf; } y = x; get_assoc(inf1).len() }
TODO: lcnr explain/figure out
The text was updated successfully, but these errors were encountered:
No branches or pull requests
only necessary after rust-lang/rust#140497 rust-lang/rust#140405
my worry is something like this, even if I can't quite exploit it
TODO: lcnr explain/figure out
The text was updated successfully, but these errors were encountered: