racer
racer copied to clipboard
Hide inaccessible members and functions
Currently, racer completes private struct members and functions cross module.
@phildawes just to be sure, everything should be done in matchers.rs ?
With local
variable and pub
keyword ?
Hi @tafia, I think for field the problem is in nameres::search_struct_fields() and ast::parse_struct_fields(). It should be using the 'visibility' attribute in the parsed ast 'NamedField' type.
But this would require getting the Visibility from the Item in case the field visibility is inherited. How would one do that?
Has this been deemed a wontfix or is it just not of high importance?
(racer 1.2.10 fwiw)