mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 06:35:49 +00:00
The existing method does some non-obvious extra work to collect user types and build user-type projections, which is specifically needed by `declare_bindings` and not by the other two callers.
For more information about how rustc works, see the rustc dev guide.