mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
ba40fe99c3
The computation is actually much simpler, and can be done by directly fetching the HIR for the `FnDecl` and its generics.
For more information about how rustc works, see the rustc dev guide.