mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00

Retire is_foreign_item query. This can be written in terms of `DefKind`. This does not deserve the cost of a query.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.