Skip to content

Commit

Permalink
Update rustc initialization to nightly-2024-04-17
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 17, 2024
1 parent e0d74e6 commit 096eac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/update/update-examples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn main() -> Result<()> {

// Write output.rustc.rs
let output_path = manifest_dir.join("..").join("output.rustc.rs");
let mut string = rustc_span::create_session_globals_then(Edition2021, || {
let mut string = rustc_span::create_session_globals_then(Edition2021, None, || {
let locale_resources = rustc_driver::DEFAULT_LOCALE_RESOURCES.to_vec();
let sess = ParseSess::new(locale_resources);
let krate = rustc_parse::parse_crate_from_file(&input_path, &sess).unwrap();
Expand Down

0 comments on commit 096eac9

Please sign in to comment.