@@ -71,29 +71,25 @@ Here is the list of passes as of <!-- date: 2021-02 --> February 2021:
71
71
- ` calculate-doc-coverage ` calculates information used for the ` --show-coverage `
72
72
flag.
73
73
74
+ - ` check-bare-urls ` detects links that are not linkified, e.g., in Markdown such as
75
+ ` Go to https://example.com/. ` It suggests wrapping the link with angle brackets:
76
+ ` Go to <https://example.com/>. ` to linkify it. This is the code behind the
77
+ <!-- date: 2021-10 --> `rustdoc::bare_urls` lint.
78
+
74
79
- ` check-code-block-syntax ` validates syntax inside Rust code blocks
75
80
(<code >```rust</code >)
76
81
82
+ - ` check-doc-test-visibility ` runs doctest visibility–related lints.
83
+
77
84
- ` check-invalid-html-tags ` detects invalid HTML (like an unclosed ` <span> ` )
78
85
in doc comments.
79
86
80
- - ` check-non-autolinks ` detects links that could or should be written using
81
- angle brackets (the code behind the nightly-only <!-- date: 2021-02 --> ` non_autolinks `
82
- lint).
83
-
84
- - ` collapse-docs ` concatenates all document attributes into one document
85
- attribute. This is necessary because each line of a doc comment is given as a
86
- separate doc attribute, and this will combine them into a single string with
87
- line breaks between each attribute.
88
-
89
87
- ` collect-intra-doc-links ` resolves [ intra-doc links] ( https://doc.rust-lang.org/rustdoc/linking-to-items-by-name.html ) .
90
88
91
89
- ` collect-trait-impls ` collects trait impls for each item in the crate. For
92
90
example, if we define a struct that implements a trait, this pass will note
93
91
that the struct implements that trait.
94
92
95
- - ` doc-test-lints ` runs various lints on the doctests.
96
-
97
93
- ` propagate-doc-cfg ` propagates ` #[doc(cfg(...))] ` to child items.
98
94
99
95
- ` strip-priv-imports ` strips all private import statements (` use ` , `extern
0 commit comments