about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-12-08 11:25:35 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-12-09 22:53:58 -0800
commit9522a08cf06a76302eed114b0281b8743ae36dcc (patch)
tree22589b61f0303d6d62d07bcb5a36d2f6908e74cc /src/rustllvm/RustWrapper.cpp
parent29ca4350c8d64facb39311660e8ee919766f481a (diff)
downloadrust-9522a08cf06a76302eed114b0281b8743ae36dcc.tar.gz
rust-9522a08cf06a76302eed114b0281b8743ae36dcc.zip
Check the privacy of implemented traits
This bug showed up because the visitor only visited the path of the implemented
trait via walk_path (with no corresponding visit_path function). I have modified
the visitor to use visit_path (which is now overridable), and the privacy
visitor overrides this function and now properly checks for the privacy of all
paths.

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