diff options
| author | David Wood <david@davidtw.co> | 2019-02-11 19:29:10 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2019-02-11 19:29:10 +0100 |
| commit | 48b0c9da69965cd40d037cee42cf3093ed09c6ee (patch) | |
| tree | 0344c160bbf7495809ad76c96bf38a5f27caf25c /src/rustllvm/RustWrapper.cpp | |
| parent | de111e6367b065fd5f8cee59b64eefefd8272f44 (diff) | |
| download | rust-48b0c9da69965cd40d037cee42cf3093ed09c6ee.tar.gz rust-48b0c9da69965cd40d037cee42cf3093ed09c6ee.zip | |
Only suggest imports if not imported.
This commit modifies name resolution error reporting so that if a name is in scope and has been imported then we do not suggest importing it. This can occur when we add a label about constructors not being visible due to private fields. In these cases, we know that the struct/variant has been imported and we should silence any suggestions to import the struct/variant.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
