Skip to content

Commit 223c43b

Browse files
committed
Fix review comment
1 parent c624738 commit 223c43b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_interface/src/queries.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impl<'tcx> Queries<'tcx> {
174174
let (krate, pre_configured_attrs) = self.pre_configure()?.steal();
175175

176176
// parse `#[crate_name]` even if `--crate-name` was passed, to make sure it matches.
177-
let crate_name = find_crate_name(self.session(), &pre_configured_attrs);
177+
let crate_name = find_crate_name(sess, &pre_configured_attrs);
178178
let crate_types = util::collect_crate_types(sess, &pre_configured_attrs);
179179
let stable_crate_id = StableCrateId::new(
180180
crate_name,

0 commit comments

Comments
 (0)