about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-09-23 21:04:54 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-09-23 21:04:54 +0200
commite30b37b84b75dca4622a210ad1ad116d05a1bae9 (patch)
treea878b1018c38c06566fd525063c6dec8c0dd4860 /src/test/debuginfo/enum-thinlto.rs
parent334f4535bd51c550d014f408364390095d99cd30 (diff)
downloadrust-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 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions