rust/compiler/rustc_infer
Dylan DPC a110cf5d16
Rollup merge of #107173 - clubby789:suggest-array-length, r=compiler-errors
Suggest the correct array length on mismatch

Fixes #107156

I wasn't able to find a way to get the `Span` for the actual array size unfortunately, so this suggestion can't be applied automatically.

``@rustbot`` label +A-diagnostics
2023-02-15 12:24:54 +05:30
..
src Rollup merge of #107173 - clubby789:suggest-array-length, r=compiler-errors 2023-02-15 12:24:54 +05:30
Cargo.toml remove unused imports 2023-02-06 17:40:18 +03:00