mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03:00
d6fa7e15d6
When a function argument bound by `Pointer` is an associated type, we only perform substitutions using the parameters from the callsite but don't attempt to normalize since it may not succeed. A simplified version of the scenario that triggered this error was added as a test case. Also fixed `Pointer::fmt` which was being double-counted when called outside of macros and added a test case for this.