about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.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
commit66484c0a21b840b30f865e92fdd5b3bad877816f (patch)
treee2d5eba90157aa2b2d43eb10d960bd3212be1310 /compiler/rustc_codegen_gcc/example/example.rs
parentaa35ab81ea4bd427a86e0c781c342835a020e6fe (diff)
downloadrust-66484c0a21b840b30f865e92fdd5b3bad877816f.tar.gz
rust-66484c0a21b840b30f865e92fdd5b3bad877816f.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 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions