7bde23bb4f
Include ForeignItem when visiting types for WF check Addresses Issue 95665 by including `hir::Node::ForeignItem` as a valid type to visit in `diagnostic_hir_wf_check`. Fixes #95665
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.