rust/compiler/rustc_errors/src
Matthias Krüger acc7de6c77
Rollup merge of #138111 - estebank:use-dfv, r=nnethercote
Use `default_field_values` for `rustc_errors::Context`, `rustc_session::config::NextSolverConfig` and `rustc_session::config::ErrorOutputType`

Wanted to see  where `#![feature(default_field_values)]` could be used in the codebase. These three seemed like no-brainers. There are a bunch of more places where we could remove manual `Default` impls, but they `derive` other traits that rely on `syn`, which [doesn't yet support `default_field_values`](https://github.com/dtolnay/syn/issues/1774).
2025-03-07 10:12:48 +01:00
..
json Rustfmt 2025-02-08 22:12:13 +00:00
markdown Use default field values in markdown::parse::Context 2025-03-03 20:04:20 +00:00
annotate_snippet_emitter_writer.rs tree-wide: parallel: Fully removed all Lrc, replaced with Arc 2025-02-03 13:25:57 +03:00
codes.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
diagnostic_impls.rs Fix rebase 2025-02-25 17:27:22 +00:00
diagnostic.rs add doc comment detail 2025-02-25 16:56:04 +00:00
emitter.rs Trim suggestion part before generating highlights 2025-02-21 00:54:01 +00:00
error.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
json.rs tree-wide: parallel: Fully removed all Lrc, replaced with Arc 2025-02-03 13:25:57 +03:00
lib.rs Rollup merge of #138111 - estebank:use-dfv, r=nnethercote 2025-03-07 10:12:48 +01:00
lock.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
registry.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
snippet.rs Add warn(unreachable_pub) to rustc_errors. 2024-08-27 12:03:37 +10:00
styled_buffer.rs Add warn(unreachable_pub) to rustc_errors. 2024-08-27 12:03:37 +10:00
tests.rs Delete the cfg(not(parallel)) serial compiler 2024-11-12 13:38:58 +00:00
translation.rs Convert Option<&Lrc<T>> return types to Option<&T>. 2024-10-07 13:56:29 +11:00