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
trait Trait<'a> { type Assoc; } trait Outer<'a>{} impl<'a, T: ?Sized> Outer<'a> for T where T: Trait<'a>, T::Assoc: Trait<'a>, {}
checking T::Assoc: Trait<'a>, we try to normalize the self type
T::Assoc: Trait<'a>
T: Trait<'a>
discard_impls_shadowed_by_env
ParamEnv
T::Assoc
T
The text was updated successfully, but these errors were encountered:
fixing this will probably fix #109
Sorry, something went wrong.
this does not affect a test which uses an impl as indirection, as we prefer param env candidates over impls
trait IntoIterator<'a> { type IntoIter; } trait Iterator<'a> {} impl<'a, T: Iterator<'a>> IntoIterator<'a> for T { type IntoIter = T; } trait Outer<'a>{} impl<'a, T: ?Sized> Outer<'a> for T where T: IntoIterator<'a>, T::IntoIter: Iterator<'a>, {}
closing due to #114 (comment)
No branches or pull requests
checking
T::Assoc: Trait<'a>
, we try to normalize the self typeT: Trait<'a>
either when checking for wf for coinduction(?), or currently indiscard_impls_shadowed_by_env
ParamEnv
candidates,T: Trait<'a>
andT::Assoc: Trait<'a>
T: Trait<'a>
holds, but adds a region constraint due to uniquificationT::Assoc: Trait<'a>
may hold ifT::Assoc
normalizes toT
The text was updated successfully, but these errors were encountered: