mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-03 14:18:23 +00:00
Resolve instance for SymFn in global/naked asm `Instance::expect_resolve` ensures that we're actually going from trait item -> impl item. Fixes #140373
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.