rust/compiler/rustc_ast/src
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
..
ast mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
attr Rename rustdoc lints to be a tool lint instead of built-in. 2021-03-01 19:29:15 -05:00
expand mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
util Remove unnecessary manual shrink_to_fit calls 2021-01-16 14:02:36 +01:00
ast.rs Combine HasAttrs and HasTokens into AstLike 2021-02-27 00:14:13 -05:00
ast_like.rs Combine HasAttrs and HasTokens into AstLike 2021-02-27 00:14:13 -05:00
crate_disambiguator.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
entry.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs Combine HasAttrs and HasTokens into AstLike 2021-02-27 00:14:13 -05:00
mut_visit.rs ast: Keep expansion status for out-of-line module items 2021-02-18 13:07:49 +03:00
node_id.rs Clarify docs for DUMMY_NODE_ID 2021-02-07 19:42:12 -08:00
ptr.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
token.rs rustc_parse: Better spans for synthesized token streams 2021-01-07 17:48:13 +03:00
tokenstream.rs Refactor token collection to capture trailing token immediately 2021-01-22 00:33:03 -05:00
visit.rs ast: Keep expansion status for out-of-line module items 2021-02-18 13:07:49 +03:00