about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/url-improvements.rs
AgeCommit message (Collapse)AuthorLines
2021-04-10Rename `url-improvements` test to `bare-urls`Camelid-58/+0
The lint used to be called `non-autolinks`, and linted more than just bare URLs. Now, it is called `bare-urls` and only lints against bare URLs. So, `bare-urls` is a better name for the test.
2021-04-05Rename non_autolinks -> bare_urlsJoshua Nelson-2/+2
2021-04-05Remove 'unnecessary long for for link' warningJoshua Nelson-10/+2
This also makes the implementation slightly more efficient by only compiling the regex once. See https://github.com/rust-lang/rust/pull/81764#issuecomment-774122759 for why this was removed; essentially the benefit didn't seem great enough to deserve a lint.
2021-03-01Rename rustdoc lints to be a tool lint instead of built-in.Joshua Nelson-2/+2
- 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.
2020-11-05Rename lint to non_autolinksGuillaume Gomez-5/+5
2020-11-05Improve lint even moreGuillaume Gomez-0/+2
2020-11-05Don't check for URLs inside codeblocksGuillaume Gomez-0/+4
2020-11-05Rename automatic_links to url_improvementsGuillaume Gomez-0/+60