granite-rust/compiler/rustc_hir_analysis/src
bors d72b7d2d2a Auto merge of #106283 - JulianKnodt:enum_err, r=cjgillot
Add help diag. for `const = Enum` missing braces around `Enum`

Previously it was not clear why this errored or if it was even supported, as there was no diagnostic that suggested wrapping it in braces.

Thus, add a simple diagnostic that suggests wrapping enum variants in braces.

Fixes #105927
2023-01-07 10:04:39 +00:00
..
astconv Auto merge of #106283 - JulianKnodt:enum_err, r=cjgillot 2023-01-07 10:04:39 +00:00
check Rollup merge of #106221 - Nilstrieb:rptr-more-like-ref-actually, r=compiler-errors 2022-12-29 13:16:04 +01:00
coherence Rollup merge of #106353 - lukas-code:reduce-red-lines-in-my-ide, r=wesleywiser 2023-01-03 17:19:27 -08:00
collect Correct detection of elided lifetimes in impl-trait. 2023-01-05 18:00:45 +00:00
impl_wf_check Auto merge of #106129 - compiler-errors:compare_method-tweaks, r=BoxyUwU 2022-12-28 13:07:30 +00:00
outlives rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
structured_errors use smaller spans for missing lifetime/generic args 2023-01-06 21:55:23 +09:00
variance Prevent the creation of TraitRef without dedicated methods 2022-12-14 15:36:39 +00:00
bounds.rs Stop passing the self-type as a separate argument. 2022-11-21 20:39:46 +00:00
check_unused.rs Remove useless filter in unused extern crate check. 2022-12-03 09:23:03 +00:00
collect.rs Rollup merge of #106403 - compiler-errors:rename-hir-methods, r=cjgillot 2023-01-04 20:36:28 -08:00
constrained_generic_params.rs Combine projection and opaque into alias 2022-12-13 17:48:55 +00:00
errors.rs Ensure async trait impls are async (or otherwise return an opaque type) 2022-12-14 16:38:21 -08:00
hir_wf_check.rs Convert predicates into Predicate in the Obligation constructor 2022-11-16 09:25:19 +00:00
impl_wf_check.rs Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
lib.rs Make ObligationCtxt::normalize take cause by borrow 2022-11-28 17:35:40 +00:00
structured_errors.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00