rust/src/test/rustdoc/intra-doc
Joshua Nelson cc62018e61 Rename rustdoc lints to be a tool lint instead of built-in.
- Rename `broken_intra_doc_links` to `rustdoc::broken_intra_doc_links`
- Ensure that the old lint names still work and give deprecation errors
- Register lints even when running doctests

  Otherwise, all `rustdoc::` lints would be ignored.

- Register all existing lints as removed

  This unfortunately doesn't work with `register_renamed` because tool
  lints have not yet been registered when rustc is running. For similar
  reasons, `check_backwards_compat` doesn't work either. Call
  `register_removed` directly instead.

- Fix fallout

  + Rustdoc lints for compiler/
  + Rustdoc lints for library/

Note that this does *not* suggest `rustdoc::broken_intra_doc_links` for
`rustdoc::intra_doc_link_resolution_failure`, since there was no time
when the latter was valid.
2021-03-01 19:29:15 -05:00
..
auxiliary
cross-crate
anchors.rs
associated-defaults.rs
associated-items.rs
basic.rs
builtin-macros.rs
disambiguators-removed.rs
enum-struct-field.rs
extern-crate.rs
extern-type.rs
external-traits.rs
generic-params.rs
in-bodies.rs
issue-82209.rs Move test file, add test of generated link 2021-02-27 01:08:05 +01:00
libstd-re-export.rs Fix intra-doc link to raw pointer method 2021-02-15 14:27:50 +01:00
mod-ambiguity.rs
non-path-primitives.rs Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
prim-assoc.rs
prim-methods-external-core.rs
prim-methods-local.rs
prim-methods.rs
prim-precedence.rs
primitive-disambiguators.rs primitive disambiguator tests 2021-01-03 20:38:28 -05:00
primitive-non-default-impl.rs
private-failures-ignored.rs
private.rs
proc-macro.rs
pub-use.rs
raw-ident-self.rs
reexport-additional-docs.rs
self.rs
through-proc-macro.rs
trait-impl.rs
trait-item.rs
true-false.rs