We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f967532 commit 3818fc0Copy full SHA for 3818fc0
compiler/rustc_ast_lowering/src/item.rs
@@ -1385,6 +1385,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
1385
let host_param_parts = if let Const::Yes(span) = constness
1386
&& self.tcx.features().effects
1387
{
1388
+ let span = self.lower_span(span);
1389
let param_node_id = self.next_node_id();
1390
let hir_id = self.next_id();
1391
let def_id = self.create_def(
0 commit comments