rust/compiler/rustc_hir_analysis
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
..
src Auto merge of #106283 - JulianKnodt:enum_err, r=cjgillot 2023-01-07 10:04:39 +00:00
Cargo.toml Rewrite representability 2022-10-07 09:33:46 -05:00
README.md

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.