Skip to content

Commit 9831844

Browse files
committed
Update signature of Emitter::emit_diagnostic in nightly-2024-02-07
1 parent 9e8033f commit 9831844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benches/rust.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ mod librustc_parse {
6363
struct SilentEmitter;
6464

6565
impl Emitter for SilentEmitter {
66-
fn emit_diagnostic(&mut self, _diag: &Diagnostic) {}
66+
fn emit_diagnostic(&mut self, _diag: Diagnostic) {}
6767
fn source_map(&self) -> Option<&Lrc<SourceMap>> {
6868
None
6969
}

0 commit comments

Comments
 (0)