Use the correct bound vars in return type suggestion. Fixes https://github.com/rust-lang/rust/issues/107860
where