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 Hello {} impl<const N: usize> Hello for [(); N] {} trait Foo { type Assoc; } fn foo<const N: usize>() where <u32 as Foo>::Assoc: Hello, u32: Foo<Assoc = [(); N]>, { }
I expected to see this pass.
Instead, this ICEd.
<u32 as Foo>::Assoc: Hello is considered global, but it is not global.
<u32 as Foo>::Assoc: Hello
The text was updated successfully, but these errors were encountered:
Auto merge of rust-lang#140313 - lcnr:wf-normalize-first, r=<try>
121a90d
change false trivial bounds detection fixes rust-lang#140309 TODO r? `@compiler-errors`
lcnr
Successfully merging a pull request may close this issue.
I expected to see this pass.
Instead, this ICEd.
<u32 as Foo>::Assoc: Hello
is considered global, but it is not global.The text was updated successfully, but these errors were encountered: