diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-08 15:03:29 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-10 15:22:00 -0700 |
| commit | df533c6e87f5052667b0c03c918f95b51439fdba (patch) | |
| tree | a86d2ecf965c9924c4f4bda116b0810d2790abd1 /src/rustllvm/RustWrapper.cpp | |
| parent | 83d2c0b8a6f6c2ce25fe48b541f176ea88be8d99 (diff) | |
| download | rust-df533c6e87f5052667b0c03c918f95b51439fdba.tar.gz rust-df533c6e87f5052667b0c03c918f95b51439fdba.zip | |
rustc: Don't succeed on shadowed nonexistent import
Previously resolve was checking the "import resolution" for whether an import had succeeded or not, but this was the same structure filled in by a previous import if a name is shadowed. Instead, this alters resolve to consult the local resolve state (as opposed to the shared one) to test whether an import succeeded or not. Closes #13404
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
