rust/compiler/rustc_session/src
Nicholas Nethercote 0621cd46f2 Simplify future breakage control flow.
`emit_future_breakage` calls
`self.dcx().take_future_breakage_diagnostics()` and then passes the
result to `self.dcx().emit_future_breakage_report(diags)`. This commit
removes the first of these and lets `emit_future_breakage_report` do the
taking.

It also inlines and removes what is left of `emit_future_breakage`,
which has a single call site.
2024-02-03 09:02:50 +11:00
..
config update paths in comments 2024-01-12 00:11:33 +01:00
code_stats.rs rustc_session: Address all rustc::potential_query_instability lints 2023-12-03 15:05:39 +01:00
config.rs Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
cstore.rs Move MetadataLoader{,Dyn} to rustc_metadata. 2023-11-30 17:05:54 +11:00
errors.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
filesearch.rs Remove unused FileMatch. 2023-11-30 17:05:56 +11:00
lib.rs Remove unused features 2024-01-25 14:01:33 +00:00
options.rs MCP #705: Provide the option -Csymbol-mangling-version=hashed -Z unstable-options to shorten symbol names by replacing them with a digest. 2024-01-26 12:39:03 +08:00
output.rs Remove more Session methods that duplicate DiagCtxt methods. 2023-12-24 08:17:47 +11:00
parse.rs SilentEmitter::fatal_note doesn't need to be optional. 2024-02-03 09:02:50 +11:00
search_paths.rs Rename EarlyDiagCtxt methods to match DiagCtxt. 2023-12-23 13:23:28 +11:00
session.rs Simplify future breakage control flow. 2024-02-03 09:02:50 +11:00
utils.rs Move is_ascii_ident to where it's used. 2023-11-30 17:05:56 +11:00
version.rs Simplify the current_rustc_version macro. 2023-11-10 10:54:21 +11:00