rust/compiler/rustc_session/src
Nicholas Nethercote 5350edb9e8 Remove the lifetime from DiagnosticArgValue.
Because it's almost always static.

This makes `impl IntoDiagnosticArg for DiagnosticArgValue` trivial,
which is nice.

There are a few diagnostics constructed in
`compiler/rustc_mir_build/src/check_unsafety.rs` and
`compiler/rustc_mir_transform/src/errors.rs` that now need symbols
converted to `String` with `to_string` instead of `&str` with `as_str`,
but that' no big deal, and worth it for the simplifications elsewhere.
2024-01-30 18:46:06 +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 Rename struct_lint_level as lint_level. 2024-01-23 08:09:08 +11:00
search_paths.rs Rename EarlyDiagCtxt methods to match DiagCtxt. 2023-12-23 13:23:28 +11:00
session.rs Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +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