Skip to content

Commit

Permalink
Update test suite to nightly-2023-07-27
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 27, 2023
1 parent a171121 commit 41c3847
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions benches/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ 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 ice_file = None;
let handler = Handler::with_emitter(false, None, emitter, ice_file);
let handler = Handler::with_emitter(emitter);
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 41c3847

Please sign in to comment.