Fix use of bare trait objects everywhere
This commit is contained in:
parent
36f1f04f18
commit
dac96d45af
22 changed files with 88 additions and 74 deletions
|
@ -75,7 +75,7 @@ fn dropck_outlives<'tcx>(
|
|||
// Set used to detect infinite recursion.
|
||||
let mut ty_set = FxHashSet::default();
|
||||
|
||||
let mut fulfill_cx = TraitEngine::new(infcx.tcx);
|
||||
let mut fulfill_cx = <dyn TraitEngine<'_>>::new(infcx.tcx);
|
||||
|
||||
let cause = ObligationCause::dummy();
|
||||
let mut constraints = DtorckConstraint::empty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue