rust/compiler/rustc_trait_selection
Matthias Krüger e8289d801c
Rollup merge of #136205 - compiler-errors:len-3, r=BoxyUwU
Properly check that array length is valid type during built-in unsizing in index

This results in duplicated errors, but this class of errors is not new; in general, we aren't really equipped to detect cases where a WF error due to a field type would be shadowed by the parent struct of that field also not being WF.

This also adds a note for these types of mismatches to make it clear that this is due to an array type.

Fixes #134352

r? boxyuwu
2025-01-29 15:29:41 +01:00
..
src Rollup merge of #136205 - compiler-errors:len-3, r=BoxyUwU 2025-01-29 15:29:41 +01:00
Cargo.toml rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structures 2024-12-16 19:08:19 +01:00
messages.ftl Rollup merge of #133382 - mu001999-contrib:diag/fnitem, r=lcnr 2025-01-29 15:29:27 +01:00