rust/compiler/rustc_macros/src
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
..
diagnostics Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
symbols Fix symbols::tests::test_symbols 2023-10-26 02:02:22 -07:00
current_version.rs Parse rustc version at compile time 2023-10-26 18:55:05 -07:00
hash_stable.rs migrate rustc_macros to syn 2.0 2023-04-06 04:55:58 +00:00
lib.rs Parse rustc version at compile time 2023-10-26 18:55:05 -07:00
lift.rs Lift: take self by value 2020-10-21 23:59:35 +02:00
newtype.rs Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
query.rs Stash and cancel cycle errors for auto trait leakage in opaques 2023-10-26 17:58:02 +00:00
serialize.rs Make enum decoding errors more informative. 2023-08-18 16:50:41 +10:00
symbols.rs Fix symbols::tests::test_symbols 2023-10-26 02:02:22 -07:00
type_foldable.rs migrate rustc_macros to syn 2.0 2023-04-06 04:55:58 +00:00
type_visitable.rs migrate rustc_macros to syn 2.0 2023-04-06 04:55:58 +00:00