Rollup merge of #123496 - lcnr:wf-ping, r=compiler-errors

ping on wf changes, remove fixme

extend core type system pings to `wf.rs`

r? `@compiler-errors`
This commit is contained in:
Guillaume Gomez 2024-04-05 16:38:52 +02:00 committed by GitHub
commit 9cb517aede
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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);