about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-05-02 14:52:48 +0200
committerGeorg Brandl <georg@python.org>2016-05-12 07:53:17 +0200
commit843b174e93b253824a62fba3ac4be2753e30c9c2 (patch)
tree1ef1f5f7151fb95ba269d5d1c0e074dab82da394 /src/rustllvm/RustWrapper.cpp
parent22ac88f1a47a82195a49fbff3cf24a2c395d7a81 (diff)
downloadrust-843b174e93b253824a62fba3ac4be2753e30c9c2.tar.gz
rust-843b174e93b253824a62fba3ac4be2753e30c9c2.zip
typeck: if a private field exists, also check for a public method
For example, `Vec::len` is both a field and a method, and usually
encountering `vec.len` just means that the parens were forgotten.

Fixes: #26472
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions