diff options
| author | bors <bors@rust-lang.org> | 2024-01-11 05:04:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-11 05:04:54 +0000 |
| commit | 67659fb7952bad8c5d54955f69d289f03763e0b1 (patch) | |
| tree | 9a9be3d5c61a45756bd79fc9ac1e5173dbcc41c9 /compiler/rustc_errors/src/json.rs | |
| parent | 2dc23e7952089efd24d0becc126067ae694b6ba8 (diff) | |
| parent | 2a5ae9f55964143dc722f32e52d7aeda2c32633f (diff) | |
| download | rust-67659fb7952bad8c5d54955f69d289f03763e0b1.tar.gz rust-67659fb7952bad8c5d54955f69d289f03763e0b1.zip | |
Auto merge of #3264 - rust-lang:rustup-2024-01-11, r=saethlin
Automatic Rustup
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
| -rw-r--r-- | compiler/rustc_errors/src/json.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/json.rs b/compiler/rustc_errors/src/json.rs index 52fcb50e9fb..87bf9c23456 100644 --- a/compiler/rustc_errors/src/json.rs +++ b/compiler/rustc_errors/src/json.rs @@ -198,7 +198,7 @@ impl Emitter for JsonEmitter { .into_iter() .map(|mut diag| { if diag.level == crate::Level::Allow { - diag.level = crate::Level::Warning(None); + diag.level = crate::Level::Warning; } FutureBreakageItem { diagnostic: EmitTyped::Diagnostic(Diagnostic::from_errors_diagnostic( |
