rust/compiler/rustc_macros
Jubilee 1db8c9d6e2
Rollup merge of #117256 - dtolnay:currentversion, r=compiler-errors
Parse rustc version at compile time

This PR eliminates a couple awkward codepaths where it was not clear how the compiler should proceed if its own version number is incomprehensible.

dab715641e/src/tools/clippy/clippy_utils/src/qualify_min_const_fn.rs (L385)

dab715641e/compiler/rustc_attr/src/builtin.rs (L630)

We can guarantee that every compiled rustc comes with a working version number, so the ICE codepaths above shouldn't need to be written.
2023-10-28 01:07:38 -07:00
..
src Rollup merge of #117256 - dtolnay:currentversion, r=compiler-errors 2023-10-28 01:07:38 -07:00
Cargo.toml Use v0.0.0 in compiler crates 2023-10-18 21:55:15 +00:00