diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2022-02-28 11:13:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-28 11:13:55 +0200 |
| commit | e6a35c28cba7bb1c79285e96707dcb2050630a05 (patch) | |
| tree | be2544dddac7ba4a7007b265716ab8d97fd3ae0a /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | 4e72700e38421a12993fe5fa5c33d712652bc6c8 (diff) | |
| download | rust-e6a35c28cba7bb1c79285e96707dcb2050630a05.tar.gz rust-e6a35c28cba7bb1c79285e96707dcb2050630a05.zip | |
Future-proof against a next edition by using `>=` and not `==`
So that we won't have a strange bug when edition 2024 will land. rustc [also does that](https://github.com/rust-lang/rust/blob/427cf81206d3b6cf41c86c1b9ce113a33f1ce860/compiler/rustc_builtin_macros/src/edition_panic.rs#L84).
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
