rust/compiler/rustc_metadata/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
..
rmeta Remove track_errors entirely 2024-01-23 15:23:22 +00:00
creader.rs cstore: Remove unnecessary locking from CrateMetadata 2024-01-04 22:42:35 +03:00
dependency_format.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
errors.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
foreign_modules.rs Do not fetch HIR in native_libs. 2023-07-17 07:37:03 +00:00
fs.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
lib.rs Remove unused features 2024-01-25 14:01:33 +00:00
locator.rs Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
native_libs.rs Auto merge of #119088 - George-lewis:glewis/suggest-upgrading-compiler, r=Nilstrieb 2024-01-13 20:06:03 +00:00