diff options
| author | Ryan Levick <me@ryanlevick.com> | 2021-06-04 14:37:20 +0200 |
|---|---|---|
| committer | Ryan Levick <me@ryanlevick.com> | 2021-06-30 11:18:33 +0200 |
| commit | a3d6905053ad60e836717976e6e4d38de67888f9 (patch) | |
| tree | 449121ebebeb9cf0593c2fc3e883d18b337a9e6e /compiler/rustc_errors/src/json.rs | |
| parent | e98897e5dc9898707bf4331c43b2e76ab7e282fe (diff) | |
| download | rust-a3d6905053ad60e836717976e6e4d38de67888f9.tar.gz rust-a3d6905053ad60e836717976e6e4d38de67888f9.zip | |
Force warnings even when can_emit_warnings == false
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 72395bd31ec..485e7564587 100644 --- a/compiler/rustc_errors/src/json.rs +++ b/compiler/rustc_errors/src/json.rs @@ -559,7 +559,7 @@ impl DiagnosticCode { s.map(|s| { let s = match s { DiagnosticId::Error(s) => s, - DiagnosticId::Lint { name, has_future_breakage: _ } => name, + DiagnosticId::Lint { name, .. } => name, }; let je_result = je.registry.as_ref().map(|registry| registry.try_find_description(&s)).unwrap(); |
