ping on wf changes, remove fixme

This commit is contained in:
lcnr 2024-04-05 15:09:48 +02:00
parent d009f60b55
commit 6db7ac6233
2 changed files with 6 additions and 4 deletions

View file

@ -714,8 +714,6 @@ impl<'a, 'tcx> TypeVisitor<TyCtxt<'tcx>> for WfPredicates<'a, 'tcx> {
// perfect and there may be ways to abuse the fact that we
// ignore requirements with escaping bound vars. That's a
// more general issue however.
//
// FIXME(eddyb) add the type to `walker` instead of recursing.
let fn_sig = tcx.fn_sig(did).instantiate(tcx, args);
fn_sig.output().skip_binder().visit_with(self);