diff options
| author | mark <markm@cs.wisc.edu> | 2022-01-23 00:11:13 -0600 |
|---|---|---|
| committer | mark <markm@cs.wisc.edu> | 2022-01-23 00:11:13 -0600 |
| commit | cf382de0cc268e6af8d37d31323bf36d0099ade3 (patch) | |
| tree | bef7a6bf124fdc140456da09363edb6935b0df9c /compiler/rustc_session/src | |
| parent | ecf72996eda4f8af19b0ca7235c6f62e0245a313 (diff) | |
| download | rust-cf382de0cc268e6af8d37d31323bf36d0099ade3.tar.gz rust-cf382de0cc268e6af8d37d31323bf36d0099ade3.zip | |
Remove DiagnosticBuilder.quiet
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/session.rs | 4 |
1 files changed, 0 insertions, 4 deletions
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, F: FnOnce() -> 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>( |
