Skip to content

Commit d5e079b

Browse files
committed
Update benchmark to nightly-2024-03-01
1 parent 8f1fb52 commit d5e079b

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
@@ -81,7 +81,7 @@ mod librustc_parse {
8181
rustc_span::create_session_if_not_set_then(Edition::Edition2018, |_| {
8282
let source_map = Lrc::new(SourceMap::new(FilePathMapping::empty()));
8383
let emitter = Box::new(SilentEmitter);
84-
let handler = DiagCtxt::with_emitter(emitter);
84+
let handler = DiagCtxt::new(emitter);
8585
let sess = ParseSess::with_dcx(handler, source_map);
8686
if let Err(diagnostic) = rustc_parse::parse_crate_from_source_str(
8787
FileName::Custom("bench".to_owned()),

0 commit comments

Comments
 (0)