Fix missing tcx
This commit is contained in:
parent
a0275e3bf3
commit
e694807650
@ -506,7 +506,8 @@ impl<'a, 'mir, 'tcx> ConstPropagator<'a, 'mir, 'tcx> {
|
||||
span,
|
||||
ty,
|
||||
user_ty: None,
|
||||
literal: self.tcx.mk_const(ty::Const::from_scalar(
|
||||
literal: self.tcx.mk_const(*ty::Const::from_scalar(
|
||||
self.tcx,
|
||||
scalar,
|
||||
ty,
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user