diff options
| author | bors <bors@rust-lang.org> | 2024-09-17 16:48:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-17 16:48:36 +0000 |
| commit | f609b7e0586f81fefb3523e3e17adf779ac416be (patch) | |
| tree | 65361cccbb6328677527b048be9b7a4ad065f06a /compiler/rustc_interface/src | |
| parent | e9e13a68d7271baac458addc056ffff6ddbbe57c (diff) | |
| parent | 065690e186bbccb51d4069e4c53bcf264ee42cac (diff) | |
| download | rust-f609b7e0586f81fefb3523e3e17adf779ac416be.tar.gz rust-f609b7e0586f81fefb3523e3e17adf779ac416be.zip | |
Auto merge of #130473 - matthiaskrgr:rollup-lf29374, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - #128535 (Format `std::env::consts` docstrings with markdown backticks) - #128961 (Fix #128930: Print documentation of CLI options missing their arg) - #129988 (Use `Vec` in `rustc_interface::Config::locale_resources`) - #130201 (Encode `coroutine_by_move_body_def_id` in crate metadata) - #130275 (Don't call `extern_crate` when local crate name is the same as a dependency and we have a trait error) - #130314 (Use the same precedence for all macro-like exprs) - #130440 (Don't ICE in `opaque_hidden_inferred_bound` lint for RPITIT in trait with no default method body) - #130458 (`rustc_codegen_ssa` cleanups) - #130469 (Mark `where_clauses_object_safety` as removed) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/interface.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs index 04e2b7d45dc..347dc185043 100644 --- a/compiler/rustc_interface/src/interface.rs +++ b/compiler/rustc_interface/src/interface.rs @@ -311,7 +311,9 @@ pub struct Config { pub output_file: Option<OutFileName>, pub ice_file: Option<PathBuf>, pub file_loader: Option<Box<dyn FileLoader + Send + Sync>>, - pub locale_resources: &'static [&'static str], + /// The list of fluent resources, used for lints declared with + /// [`Diagnostic`](rustc_errors::Diagnostic) and [`LintDiagnostic`](rustc_errors::LintDiagnostic). + pub locale_resources: Vec<&'static str>, pub lint_caps: FxHashMap<lint::LintId, lint::Level>, |
