mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
b690cdb1e7
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