mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-08 18:31:35 +00:00
Minor tweaks to `compare_impl_item.rs` 1. Stop using the `InstantiatedPredicates` struct for `hybrid_preds` in `compare_impl_item.rs`, since we never actually push anything into the `spans` part of it. 2. Remove redundant impl args and don't do useless identity substitution, prefer calling `instantiate_identity`.
For more information about how rustc works, see the rustc dev guide.