remove fixme for stalled_on
This commit is contained in:
parent
0e9e408310
commit
0441763694
1 changed files with 4 additions and 3 deletions
|
|
@ -75,9 +75,10 @@ pub struct FulfillmentContext<'tcx> {
|
|||
#[derive(Clone, Debug)]
|
||||
pub struct PendingPredicateObligation<'tcx> {
|
||||
pub obligation: PredicateObligation<'tcx>,
|
||||
// FIXME(eddyb) look into whether this could be a `SmallVec`.
|
||||
// Judging by the comment in `process_obligation`, the 1-element case
|
||||
// is common so this could be a `SmallVec<[TyOrConstInferVar<'tcx>; 1]>`.
|
||||
// This is far more often read than modified, meaning that we
|
||||
// should mostly optimize for reading speed, while modifying is not as relevant.
|
||||
//
|
||||
// For whatever reason using a boxed slice is slower than using a `Vec` here.
|
||||
pub stalled_on: Vec<TyOrConstInferVar<'tcx>>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue