]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #83098 - camelid:more-doc-attr-check, r=davidtwco
authorDylan DPC <dylan.dpc@gmail.com>
Mon, 15 Mar 2021 15:22:52 +0000 (16:22 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Mar 2021 15:22:52 +0000 (16:22 +0100)
Find more invalid doc attributes

- Lint on `#[doc(123)]`, `#[doc("hello")]`, etc.
- Lint every attribute; e.g., will now report two warnings for `#[doc(foo, bar)]`
- Add hyphen to "crate level"
- Display paths like `#[doc(foo::bar)]` correctly instead of as an empty string

1  2 
Cargo.lock
compiler/rustc_passes/src/check_attr.rs

diff --cc Cargo.lock
Simple merge