Skip to content

Commit e1936d2

Browse files
Remove FIXME that is no longer relevant
1 parent 3863018 commit e1936d2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs

-6
Original file line numberDiff line numberDiff line change
@@ -827,12 +827,6 @@ pub(in crate::solve) fn const_conditions_for_destruct<I: Interner>(
827827
/// additional step of eagerly folding the associated types in the where
828828
/// clauses of the impl. In this example, that means replacing
829829
/// `<Self as Foo>::Bar` with `Ty` in the first impl.
830-
///
831-
// FIXME: This is only necessary as `<Self as Trait>::Assoc: ItemBound`
832-
// bounds in impls are trivially proven using the item bound candidates.
833-
// This is unsound in general and once that is fixed, we don't need to
834-
// normalize eagerly here. See https://github.com/lcnr/solver-woes/issues/9
835-
// for more details.
836830
pub(in crate::solve) fn predicates_for_object_candidate<D, I>(
837831
ecx: &mut EvalCtxt<'_, D>,
838832
param_env: I::ParamEnv,

0 commit comments

Comments
 (0)