Lower constness span in host param
This commit is contained in:
parent
f967532a47
commit
3818fc02c4
@ -1385,6 +1385,7 @@ fn lower_generics<T>(
|
||||
let host_param_parts = if let Const::Yes(span) = constness
|
||||
&& self.tcx.features().effects
|
||||
{
|
||||
let span = self.lower_span(span);
|
||||
let param_node_id = self.next_node_id();
|
||||
let hir_id = self.next_id();
|
||||
let def_id = self.create_def(
|
||||
|
Loading…
Reference in New Issue
Block a user