rust/compiler/rustc_middle/src
bors d78329b92e Auto merge of #119088 - George-lewis:glewis/suggest-upgrading-compiler, r=Nilstrieb
Suggest Upgrading Compiler for Gated Features

This PR addresses #117318

I have a few questions:

1. Do we want to specify the current version and release date of the compiler? I have added this in via environment variables, which I found in the code for the rustc cli where it handles the `--version` flag
  a. How can I handle the changing message in the tests?
3. Do we want to only show this message when the compiler is old?
  a. How can we determine when the compiler is old?

I'll wait until we figure out the message to bless the tests
2024-01-13 20:06:03 +00:00
..
dep_graph Reduce exposure of things. 2023-11-16 16:49:22 +11:00
hir Unify SourceFile::name_hash and StableSourceFileId 2023-12-19 22:34:26 +01:00
hooks Rename hook. 2023-11-01 16:49:18 +00:00
infer NFC: do not clone types that are copy 2023-12-15 23:19:51 +01:00
middle Add check for ui_testing via promoting parameters from ParseSess to Session 2024-01-13 12:11:13 -05:00
mir coverage: Add enums to accommodate other kinds of coverage mappings 2024-01-11 16:43:12 +11:00
query specialization_graph_of's errored field is used in the only call site, and used to immediately throw away the rest of the value. Let's use Result to statically signal that this is happening 2024-01-11 20:34:59 +00:00
thir Remove thir::Guard 2024-01-05 10:56:59 +00:00
traits Remove unused ErrorReporting variant from overflow handling 2024-01-12 17:00:32 +00:00
ty Auto merge of #118947 - Bryanskiy:delegStep1, r=petrochenkov,lcnr 2024-01-13 04:19:17 +00:00
util Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
arena.rs specialization_graph_of's errored field is used in the only call site, and used to immediately throw away the rest of the value. Let's use Result to statically signal that this is happening 2024-01-11 20:34:59 +00:00
error.rs don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
lib.rs update cfg(bootstrap)s 2023-12-22 11:14:11 +01:00
lint.rs Change how force-warn lint diagnostics are recorded. 2024-01-11 07:56:17 +11:00
macros.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11: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 Don't populate yield and resume types after the fact 2024-01-06 18:03:01 +00:00
values.rs Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00