From cf382de0cc268e6af8d37d31323bf36d0099ade3 Mon Sep 17 00:00:00 2001 From: mark Date: Sun, 23 Jan 2022 00:11:13 -0600 Subject: Remove DiagnosticBuilder.quiet --- compiler/rustc_session/src/session.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'compiler/rustc_session/src') diff --git a/compiler/rustc_session/src/session.rs b/compiler/rustc_session/src/session.rs index 730e79a5647..9bcdd7f3da6 100644 --- a/compiler/rustc_session/src/session.rs +++ b/compiler/rustc_session/src/session.rs @@ -476,10 +476,6 @@ impl Session { &self.parse_sess.span_diagnostic } - pub fn with_disabled_diagnostic T>(&self, f: F) -> T { - self.parse_sess.span_diagnostic.with_disabled_diagnostic(f) - } - /// Analogous to calling methods on the given `DiagnosticBuilder`, but /// deduplicates on lint ID, span (if any), and message for this `Session` fn diag_once<'a, 'b>( -- cgit 1.4.1-3-g733a5