rust/compiler/rustc_middle
Yuki Okushi 2944454540
Rollup merge of #99353 - compiler-errors:gat-where-clause-mismatch, r=cjgillot
Slightly improve mismatched GAT where clause error

This makes the error reporting a bit more standardized between `where` on GATs and functions.

cc #99206 (`@BoxyUwU),` don't want to mark this as as "fixed" because they're still not perfect, but this is still an improvement IMO so I want to land it incrementally.

regarding "consider adding where clause to trait definition", we don't actually do that for methods as far as i can tell? i could file an issue to look into that maybe.
2022-07-26 13:12:19 +09:00
..
benches
src Rollup merge of #99353 - compiler-errors:gat-where-clause-mismatch, r=cjgillot 2022-07-26 13:12:19 +09:00
Cargo.toml
README.md

For more information about how rustc works, see the rustc dev guide.