obligation cause: RepeatVec
-> RepeatValueCopy
This commit is contained in:
parent
e730969b0d
commit
d7cada1767
4 changed files with 11 additions and 8 deletions
|
@ -1899,7 +1899,9 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
|
|||
ObligationCause::new(
|
||||
span,
|
||||
self.tcx().hir().local_def_id_to_hir_id(def_id),
|
||||
traits::ObligationCauseCode::RepeatVec(is_const_fn),
|
||||
traits::ObligationCauseCode::RepeatElementCopy {
|
||||
is_const_fn,
|
||||
},
|
||||
),
|
||||
self.param_env,
|
||||
ty::Binder::dummy(ty::TraitRef::new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue