rust/compiler/rustc_hir_analysis/src
Guillaume Gomez 246daa49ee
Rollup merge of #106931 - Ezrashaw:docs-e0208, r=compiler-errors
document + UI test `E0208` and make its output more user-friendly

Cleans up `E0208`'s output a lot. It could actually be useful for someone learning about variance now. I also added a UI test for it in `tests/ui/error-codes/` and wrote some docs for it.

r? `@GuillaumeGomez` another error code, can't be bothered to find the issue :P. Obviously there's some compiler stuff, so you'll have to hand it off.

Part of https://github.com/rust-lang/rust/issues/61137.
2023-01-19 11:19:35 +01:00
..
astconv Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 2023-01-17 20:21:25 +01:00
check Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00
coherence Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00
collect Rollup merge of #106970 - kylematsuda:earlybinder-item-bounds, r=lcnr 2023-01-17 20:21:28 +01:00
impl_wf_check change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_ref query; add EarlyBinder to impl_trait_ref in metadata 2023-01-14 00:29:56 -07:00
outlives Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 2023-01-17 20:21:25 +01:00
structured_errors use smaller spans for missing lifetime/generic args 2023-01-06 21:55:23 +09:00
variance Rollup merge of #106931 - Ezrashaw:docs-e0208, r=compiler-errors 2023-01-19 11:19:35 +01:00
autoderef.rs Move autoderef to rustc_hir_analysis 2023-01-11 20:12:57 +00:00
bounds.rs Rework hir Bounds collection 2022-12-28 23:40:09 +00:00
check_unused.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
collect.rs change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_ref query; add EarlyBinder to impl_trait_ref in metadata 2023-01-14 00:29:56 -07:00
constrained_generic_params.rs Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00
errors.rs Move autoderef to rustc_hir_analysis 2023-01-11 20:12:57 +00:00
hir_wf_check.rs Point at HIR types when impl trait ref doesn't normalize 2023-01-12 20:44:47 +00:00
impl_wf_check.rs change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_ref query; add EarlyBinder to impl_trait_ref in metadata 2023-01-14 00:29:56 -07:00
lib.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
structured_errors.rs