Skip to content

Commit

Permalink
Update signature of Emitter::emit_diagnostic in nightly-2024-02-07
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 7, 2024
1 parent 9e8033f commit 9831844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ mod librustc_parse {
struct SilentEmitter;

impl Emitter for SilentEmitter {
fn emit_diagnostic(&mut self, _diag: &Diagnostic) {}
fn emit_diagnostic(&mut self, _diag: Diagnostic) {}
fn source_map(&self) -> Option<&Lrc<SourceMap>> {
None
}
Expand Down

0 comments on commit 9831844

Please sign in to comment.