Lower constness span in host param

This commit is contained in:
Michael Goulet 2023-12-09 00:00:53 +00:00
parent f967532a47
commit 3818fc02c4

View File

@ -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(