Skip to content

Commit

Permalink
Update test suite to nightly-2023-07-21
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 21, 2023
1 parent 82c969e commit 16da0b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benches/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ mod librustc_parse {
rustc_span::create_session_if_not_set_then(Edition::Edition2018, |_| {
let cm = Lrc::new(SourceMap::new(FilePathMapping::empty()));
let emitter = Box::new(SilentEmitter);
let handler = Handler::with_emitter(false, None, emitter);
let ice_file = None;
let handler = Handler::with_emitter(false, None, emitter, ice_file);
let sess = ParseSess::with_span_handler(handler, cm);
if let Err(diagnostic) = rustc_parse::parse_crate_from_source_str(
FileName::Custom("bench".to_owned()),
Expand Down

0 comments on commit 16da0b2

Please sign in to comment.