We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e8033f commit 9831844Copy full SHA for 9831844
benches/rust.rs
@@ -63,7 +63,7 @@ mod librustc_parse {
63
struct SilentEmitter;
64
65
impl Emitter for SilentEmitter {
66
- fn emit_diagnostic(&mut self, _diag: &Diagnostic) {}
+ fn emit_diagnostic(&mut self, _diag: Diagnostic) {}
67
fn source_map(&self) -> Option<&Lrc<SourceMap>> {
68
None
69
}
0 commit comments