about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/graph.rs
diff options
context:
space:
mode:
authorAyrton <a.munoz3327@gmail.com>2020-10-06 17:55:46 -0400
committerAyrton <a.munoz3327@gmail.com>2020-10-27 11:04:04 -0400
commitd6fa7e15d6679a1c01a6b4c32400f571d04c6a6c (patch)
tree93fc85647e721e624575ba056d3d9bcf1a6906e9 /compiler/rustc_mir/src/transform/coverage/graph.rs
parent432ebd57efe38e691acc25570cb79acbe4956651 (diff)
downloadrust-d6fa7e15d6679a1c01a6b4c32400f571d04c6a6c.tar.gz
rust-d6fa7e15d6679a1c01a6b4c32400f571d04c6a6c.zip
Fixed compiler error in lint checker triggered by associated types
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.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions