1
Fork 0
rust/compiler/rustc_hir_analysis/src/variance
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
..
constraints.rs Combine identical alias arms 2022-12-13 17:48:55 +00:00
mod.rs Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00
solve.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
terms.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
test.rs remove error code from #[rustc_variance] and document its remains 2023-01-18 21:10:27 +13:00
xform.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00