rust/compiler/rustc_middle/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
..
dep_graph Move DepKind to rustc_query_system and define it as u16 2023-09-21 17:06:14 +02:00
hir Auto merge of #116849 - oli-obk:error_shenanigans, r=cjgillot 2023-10-23 09:59:40 +00:00
hooks add some docs to hooks/mod.rs 2023-09-30 22:33:22 +02:00
infer Uplift Canonical to rustc_type_ir 2023-10-25 16:25:09 +00:00
middle Parse rustc version at compile time 2023-10-26 18:55:05 -07:00
mir Auto merge of #117103 - matthiaskrgr:rollup-96zuuom, r=matthiaskrgr 2023-10-23 22:18:45 +00:00
query Stash and cancel cycle errors for auto trait leakage in opaques 2023-10-26 17:58:02 +00:00
thir Address review comments 2023-10-16 15:58:01 +00:00
traits Rollup merge of #106601 - estebank:match-semi, r=cjgillot 2023-10-21 13:58:33 +02:00
ty Rollup merge of #117246 - estebank:issue-117209, r=petrochenkov 2023-10-27 19:46:08 +02:00
util Merge ExternProviders into the general Providers struct 2023-09-22 20:15:34 +00:00
arena.rs Implement Deref<LayoutS> for Layout 2023-10-02 21:31:16 +02:00
error.rs don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
lib.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
lint.rs give FutureIncompatibilityReason variants more explicit names 2023-09-22 08:51:18 +02:00
macros.rs Rename CloneLiftImpls as TrivialLiftImpls. 2023-09-18 09:37:09 +10:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Auto merge of #116482 - matthewjasper:thir-unsafeck-inline-constants, r=b-naber 2023-10-25 00:03:57 +00:00
values.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00