diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-03-01 05:49:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-01 05:49:50 +0100 |
| commit | 91eb721cbc11755b459330718785f79e8dd45ff8 (patch) | |
| tree | ba7484fa27a7a4f3f15b44f250c0cacf79b9ac89 /compiler/rustc_codegen_llvm/src | |
| parent | 30508faeb3248d399079513b6e0107af30a43948 (diff) | |
| parent | 6c3243f0086c0f6a77b4a66fdfcf7f55c36f94a1 (diff) | |
| download | rust-91eb721cbc11755b459330718785f79e8dd45ff8.tar.gz rust-91eb721cbc11755b459330718785f79e8dd45ff8.zip | |
Rollup merge of #137045 - BoxyUwU:defer_repeat_expr_checks, r=compiler-errors
Defer repeat expr `Copy` checks to end of type checking Fixes #110443 Defers repeat expr checks that the element type is `Copy` when the length is > 1 (or generic) to end of typeck so that under `generic_arg_infer` repeat exprs are able to have an inferred count, e.g. `let a: [_; 1] = [String::new(); _];`. Currently the deferring is gated under `generic_arg_infer` though I intend to separately types FCP deferring the checks even outside of `generic_arg_infer` if we wind up not going with an alternative.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
