about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-10-15 18:42:27 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-11-16 13:23:19 -0800
commitf57413b717e12449612068406063571f6a4b43a9 (patch)
tree321ec05c93379cc60037747519549333b476feff /src/test/debuginfo/enum-thinlto.rs
parent405a3dd91c4e844652c09810e71183babc9ed160 (diff)
downloadrust-f57413b717e12449612068406063571f6a4b43a9.tar.gz
rust-f57413b717e12449612068406063571f6a4b43a9.zip
Suggest borrowing when it would satisfy an unmet trait bound
When there are multiple implementors for the same trait that is present
in an unmet binding, modify the E0277 error to refer to the parent
obligation and verify whether borrowing the argument being passed in
would satisfy the unmet bound. If it would, suggest it.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions