rust/compiler
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
..
rustc
rustc_abi Fix rustc_abi build on stable 2024-01-16 21:15:31 +01:00
rustc_arena Fix Stable trait and its impls to work with the new with_tables 2024-01-19 09:42:51 +00:00
rustc_ast Rollup merge of #120329 - nnethercote:3349-precursors, r=fee1-dead 2024-01-26 14:43:31 +01:00
rustc_ast_lowering Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_ast_passes Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_ast_pretty Remove unused features 2024-01-25 14:01:33 +00:00
rustc_attr Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_baked_icu_data
rustc_borrowck Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_builtin_macros Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_codegen_cranelift Merge commit '3e50cf65025f96854d6597e80449b0d64ad89589' into sync_cg_clif-2024-01-26 2024-01-26 18:33:45 +00:00
rustc_codegen_gcc Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_codegen_llvm Auto merge of #120062 - davidtwco:llvm-data-layout-check, r=wesleywiser 2024-01-27 12:19:41 +00:00
rustc_codegen_ssa Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_const_eval Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_data_structures Remove unused features 2024-01-25 14:01:33 +00:00
rustc_driver
rustc_driver_impl Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_error_codes Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_error_messages Remove unused features 2024-01-25 14:01:33 +00:00
rustc_errors Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_expand Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_feature Add feature gate 2024-01-24 23:52:03 +01:00
rustc_fluent_macro annotate-snippets: update to 0.10 2024-01-07 16:53:32 +03:00
rustc_fs_util
rustc_graphviz
rustc_hir Auto merge of #119968 - clubby789:unused-feature, r=compiler-errors 2024-01-26 03:18:34 +00:00
rustc_hir_analysis Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_hir_pretty Add PatKind::Err 2024-01-17 03:14:16 +01:00
rustc_hir_typeck Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_incremental Remove unused features 2024-01-25 14:01:33 +00:00
rustc_index Auto merge of #120024 - Mark-Simulacrum:fast-union-merge, r=cjgillot 2024-01-27 22:26:37 +00:00
rustc_index_macros Restrict access to the private field of newtype indexes 2024-01-19 15:38:47 +00:00
rustc_infer Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_interface Remove unused features 2024-01-25 14:01:33 +00:00
rustc_lexer Use unescape_unicode for raw C string literals. 2024-01-25 12:28:11 +11:00
rustc_lint Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_lint_defs Rollup merge of #119948 - asquared31415:unsafe_op_in_unsafe_fn_fix, r=TaKO8Ki 2024-01-22 16:13:28 +01:00
rustc_llvm Revert "Auto merge of #113923 - DianQK:restore-no-builtins-lto, r=pnkfelix" 2024-01-12 18:23:04 +08:00
rustc_log
rustc_macros Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_metadata Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_middle Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_mir_build Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_mir_dataflow Remove unused features 2024-01-25 14:01:33 +00:00
rustc_mir_transform Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_monomorphize Remove unused features 2024-01-25 14:01:33 +00:00
rustc_next_trait_solver Remove movability from TyKind::Coroutine 2023-12-28 16:35:01 +00:00
rustc_parse Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_parse_format Rename the unescaping functions. 2024-01-25 12:28:11 +11:00
rustc_passes Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_pattern_analysis Rollup merge of #118803 - Nadrieril:min-exhaustive-patterns, r=compiler-errors 2024-01-26 06:36:36 +01:00
rustc_privacy Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_query_impl Remove unused features 2024-01-25 14:01:33 +00:00
rustc_query_system Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_resolve Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_serialize Remove unused features 2024-01-25 14:01:33 +00:00
rustc_session Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
rustc_smir Do not normalize closure signature when building FnOnce shim 2024-01-22 16:50:30 +00:00
rustc_span Add NonZero symbol. 2024-01-27 16:38:57 +01:00
rustc_symbol_mangling Auto merge of #118636 - h1467792822:dev, r=michaelwoerister 2024-01-27 02:32:30 +00:00
rustc_target Remove unused features 2024-01-25 14:01:33 +00:00
rustc_trait_selection Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_traits Remove unused features 2024-01-25 14:01:33 +00:00
rustc_transmute Remove unused features 2024-01-25 14:01:33 +00:00
rustc_ty_utils Stop using String for error codes. 2024-01-29 07:41:41 +11:00
rustc_type_ir Restrict access to the private field of newtype indexes 2024-01-19 15:38:47 +00:00
stable_mir Remove unused features 2024-01-25 14:01:33 +00:00