@@ -72,7 +72,7 @@ impl<'tcx> Bounds<'tcx> {
72
72
// For `T: ~const Tr` or `T: const Tr`, we need to add an additional bound on the
73
73
// associated type of `<T as Tr>` and make sure that the effect is compatible.
74
74
if let Some ( compat_val) = match ( tcx. def_kind ( defining_def_id) , constness) {
75
- // TODO: do we need `T: const Trait` anymore?
75
+ // FIXME(effects): revisit the correctness of this
76
76
( _, ty:: BoundConstness :: Const ) => Some ( tcx. consts . false_ ) ,
77
77
// body owners that can have trait bounds
78
78
( DefKind :: Const | DefKind :: Fn | DefKind :: AssocFn , ty:: BoundConstness :: ConstIfConst ) => {
@@ -120,7 +120,7 @@ impl<'tcx> Bounds<'tcx> {
120
120
// FIXME(effects) this is equality for now, which wouldn't be helpful for a non-const implementor
121
121
// that uses a `Bar` that implements `Trait` with `Maybe` effects.
122
122
( DefKind :: AssocTy , ty:: BoundConstness :: ConstIfConst ) => {
123
- // TODO write the actual impl
123
+ // FIXME(effects): implement this
124
124
return ;
125
125
}
126
126
// probably illegal in this position.
@@ -169,7 +169,7 @@ impl<'tcx> Bounds<'tcx> {
169
169
170
170
pub fn clauses (
171
171
& self ,
172
- // TODO remove tcx
172
+ // FIXME(effects): remove tcx
173
173
_tcx : TyCtxt < ' tcx > ,
174
174
) -> impl Iterator < Item = ( ty:: Clause < ' tcx > , Span ) > + ' _ {
175
175
self . clauses . iter ( ) . cloned ( )
0 commit comments