We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c624738 commit 223c43bCopy full SHA for 223c43b
compiler/rustc_interface/src/queries.rs
@@ -174,7 +174,7 @@ impl<'tcx> Queries<'tcx> {
174
let (krate, pre_configured_attrs) = self.pre_configure()?.steal();
175
176
// 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);
+ let crate_name = find_crate_name(sess, &pre_configured_attrs);
178
let crate_types = util::collect_crate_types(sess, &pre_configured_attrs);
179
let stable_crate_id = StableCrateId::new(
180
crate_name,
0 commit comments