diff options
| author | bors <bors@rust-lang.org> | 2024-03-25 16:34:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-25 16:34:41 +0000 |
| commit | cf1eb93a02349d31f96ab2737b6f15cf6e6df534 (patch) | |
| tree | 8c1145dcdf2031d5872f17329803a6c60b42c31a /compiler/rustc_interface/src | |
| parent | c4611708bd510a17d36d385e9bb70b19283de051 (diff) | |
| parent | 0d4ef69d66ed32f23fc1006fdd26911e42eba460 (diff) | |
| download | rust-cf1eb93a02349d31f96ab2737b6f15cf6e6df534.tar.gz rust-cf1eb93a02349d31f96ab2737b6f15cf6e6df534.zip | |
Auto merge of #3414 - RalfJung:rustup, r=RalfJung
Rustup Fixes https://github.com/rust-lang/miri/issues/3404
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/interface.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs index 8ba14d37982..656c7ffae19 100644 --- a/compiler/rustc_interface/src/interface.rs +++ b/compiler/rustc_interface/src/interface.rs @@ -48,6 +48,7 @@ pub(crate) fn parse_cfg(dcx: &DiagCtxt, cfgs: Vec<String>) -> Cfg { let psess = ParseSess::with_silent_emitter( vec![crate::DEFAULT_LOCALE_RESOURCE, rustc_parse::DEFAULT_LOCALE_RESOURCE], format!("this error occurred on the command line: `--cfg={s}`"), + true, ); let filename = FileName::cfg_spec_source_code(&s); @@ -111,6 +112,7 @@ pub(crate) fn parse_check_cfg(dcx: &DiagCtxt, specs: Vec<String>) -> CheckCfg { let psess = ParseSess::with_silent_emitter( vec![crate::DEFAULT_LOCALE_RESOURCE, rustc_parse::DEFAULT_LOCALE_RESOURCE], format!("this error occurred on the command line: `--check-cfg={s}`"), + true, ); let filename = FileName::cfg_spec_source_code(&s); |
