We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DiagnosticOutput::Emitter
1 parent 3991285 commit 68f5101Copy full SHA for 68f5101
src/librustc/session/mod.rs
@@ -1078,8 +1078,7 @@ fn default_emitter(
1078
1079
pub enum DiagnosticOutput {
1080
Default,
1081
- Raw(Box<dyn Write + Send>),
1082
- Emitter(Box<dyn Emitter + Send + sync::Send>)
+ Raw(Box<dyn Write + Send>)
1083
}
1084
1085
pub fn build_session_with_source_map(
@@ -1115,7 +1114,6 @@ pub fn build_session_with_source_map(
1115
1114
DiagnosticOutput::Raw(write) => {
1116
default_emitter(&sopts, registry, &source_map, Some(write))
1117
1118
- DiagnosticOutput::Emitter(emitter) => emitter,
1119
};
1120
1121
let diagnostic_handler = errors::Handler::with_emitter_and_flags(
0 commit comments