Use a Vec in rustc_interface::Config::locale_resources
This allows a third-party tool to injects its own resources, when receiving the config via `rustc_driver::Callbacks::config`.
This commit is contained in:
@@ -321,7 +321,7 @@ fn run_compiler(
|
||||
output_dir: odir,
|
||||
ice_file,
|
||||
file_loader,
|
||||
locale_resources: DEFAULT_LOCALE_RESOURCES,
|
||||
locale_resources: DEFAULT_LOCALE_RESOURCES.to_vec(),
|
||||
lint_caps: Default::default(),
|
||||
psess_created: None,
|
||||
hash_untracked_state: None,
|
||||
|
||||
Reference in New Issue
Block a user