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
a purely structural lookup is difficult to support in MIR typeck because we replace all regions with new variables.
a semantic lookup requires some special care to correctly handle universes. It also breaks the following example
trait Trait<'a, 'b> {} impl<'a, 'b, T> Trait<'a, 'b> for T {} #[derive(Copy, Clone)] struct Inv<'a>(*mut &'a ()); fn foo<'a, 'b>(x: Inv<'a>, y: Inv<'b>, b: bool) -> impl Trait<'a, 'b> { if b { let _: Inv<'b> = foo(y, x, false); } x }
The text was updated successfully, but these errors were encountered:
if we uniquify regions the lookup will have to be semantic
Sorry, something went wrong.
No branches or pull requests
a purely structural lookup is difficult to support in MIR typeck because we replace all regions with new variables.
a semantic lookup requires some special care to correctly handle universes. It also breaks the following example
The text was updated successfully, but these errors were encountered: