mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-13 22:12:34 +00:00
account for doc visibility This fixes #4608. Also I noticed that the lint failed to look at trait and impl items. There's a small bit of fallout in the code, too, but not enough to warrant its own commit. changelog: check docs of trait items and impl items, also make `missing_safety_doc` account for visibility