diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-09-23 21:04:54 +0200 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-09-23 21:04:54 +0200 |
| commit | e30b37b84b75dca4622a210ad1ad116d05a1bae9 (patch) | |
| tree | a878b1018c38c06566fd525063c6dec8c0dd4860 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff | |
| parent | 334f4535bd51c550d014f408364390095d99cd30 (diff) | |
| download | rust-e30b37b84b75dca4622a210ad1ad116d05a1bae9.tar.gz rust-e30b37b84b75dca4622a210ad1ad116d05a1bae9.zip | |
Fix clippy's const fn stability check for CURRENT_RUSTC_VERSION
Since clippy can use a projects MSRV for its lints, it might not want to consider functions as const stable if they have been added lately. Functions that have been stabilized this version use CURRENT_RUSTC_VERSION as their version, which gets then turned into the current version, which might be something like `1.66.0-dev`. The version parser cannot deal with this version, so it has to be stripped off.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions
