about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-01-25 15:52:11 +0100
committerGitHub <noreply@github.com>2018-01-25 15:52:11 +0100
commite26aac5a9f541a2823922c5ab291da569c49acdf (patch)
tree5a949b33c6aa0c1e4e529ce77c376b4779408ad1 /src/rustllvm/RustWrapper.cpp
parent4cf26f8a133039bfeb5b9f684df9f547278db206 (diff)
parent4121ddb041aaa20769c8b31bc6496906c6330170 (diff)
downloadrust-e26aac5a9f541a2823922c5ab291da569c49acdf.tar.gz
rust-e26aac5a9f541a2823922c5ab291da569c49acdf.zip
Rollup merge of #47534 - estebank:suggest-public-traits, r=petrochenkov
On missing method do not suggest private traits

When encountering a method call for an ADT that doesn't have any
implementation of it, we search for traits that could be implemented
that do have that method. Filter out private non-local traits that would
not be able to be implemented.

This doesn't account for public traits that are in a private scope, but
works as a first approximation and is a more correct behavior than the
current one.

Fix #45781.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions