diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-01-29 15:29:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-29 15:29:41 +0100 |
| commit | e8289d801ca096305dfb4a94c33750d96117104b (patch) | |
| tree | a43f1e99ff4e13fbc41755a9daf565180bb8fc6b /src/doc/rustc-dev-guide/examples/rustc-driver-example.rs | |
| parent | 936554756b4b04033ede1f66088fc43323953beb (diff) | |
| parent | 7e68422859f2e6e3514a1af68d0a7ba3629e2553 (diff) | |
| download | rust-e8289d801ca096305dfb4a94c33750d96117104b.tar.gz rust-e8289d801ca096305dfb4a94c33750d96117104b.zip | |
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
Diffstat (limited to 'src/doc/rustc-dev-guide/examples/rustc-driver-example.rs')
0 files changed, 0 insertions, 0 deletions
