diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2018-01-17 20:15:13 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2018-01-22 08:29:24 -0800 |
| commit | 4121ddb041aaa20769c8b31bc6496906c6330170 (patch) | |
| tree | 1e1b0a47a0bd43a8456ac885078888a561f0a3bd /src/rustllvm/RustWrapper.cpp | |
| parent | fdc18b3067b5bad257ccbe7400e3c4fb617e9e18 (diff) | |
| download | rust-4121ddb041aaa20769c8b31bc6496906c6330170.tar.gz rust-4121ddb041aaa20769c8b31bc6496906c6330170.zip | |
Do not suggest private traits that have missing method
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
