mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-15 00:37:04 +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.