diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-14 15:47:03 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-14 15:53:55 +1100 |
| commit | 43a0f5550626a4639f34bbd8d6f39673b1ae4b91 (patch) | |
| tree | 1098c3166a279bbf565381adbd725cad85579fe0 /compiler/rustc_errors/src | |
| parent | 028b6d152e904bbc02dc3cd67e4cbdffcbd039e1 (diff) | |
Remove unused `Handler::treat_err_as_bug`.
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index daa8a7706eb..db573cd931d 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -585,11 +585,6 @@ impl Handler { self } - pub fn treat_err_as_bug(mut self, treat_err_as_bug: NonZeroUsize) -> Self { - self.inner.get_mut().flags.treat_err_as_bug = Some(treat_err_as_bug); - self - } - pub fn with_flags(mut self, flags: HandlerFlags) -> Self { self.inner.get_mut().flags = flags; self |
