mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
86717f2f0c
add documentation to the `span_lint_hir` functions As far as I could tell, these weren't documented anywhere, and since this is sometimes needed over `span_lint` for `#[allow]` attrs to work, I thought I would add a little bit of documentation. When I started with clippy development, I also had no idea what these functions were for. changelog: none