@@ -1875,93 +1875,6 @@ declare_lint! {
18751875 "detects labels that are never used"
18761876}
18771877
1878- declare_lint ! {
1879- /// The `broken_intra_doc_links` lint detects failures in resolving
1880- /// intra-doc link targets. This is a `rustdoc` only lint, see the
1881- /// documentation in the [rustdoc book].
1882- ///
1883- /// [rustdoc book]: ../../../rustdoc/lints.html#broken_intra_doc_links
1884- pub BROKEN_INTRA_DOC_LINKS ,
1885- Warn ,
1886- "failures in resolving intra-doc link targets"
1887- }
1888-
1889- declare_lint ! {
1890- /// This is a subset of `broken_intra_doc_links` that warns when linking from
1891- /// a public item to a private one. This is a `rustdoc` only lint, see the
1892- /// documentation in the [rustdoc book].
1893- ///
1894- /// [rustdoc book]: ../../../rustdoc/lints.html#private_intra_doc_links
1895- pub PRIVATE_INTRA_DOC_LINKS ,
1896- Warn ,
1897- "linking from a public item to a private one"
1898- }
1899-
1900- declare_lint ! {
1901- /// The `invalid_codeblock_attributes` lint detects code block attributes
1902- /// in documentation examples that have potentially mis-typed values. This
1903- /// is a `rustdoc` only lint, see the documentation in the [rustdoc book].
1904- ///
1905- /// [rustdoc book]: ../../../rustdoc/lints.html#invalid_codeblock_attributes
1906- pub INVALID_CODEBLOCK_ATTRIBUTES ,
1907- Warn ,
1908- "codeblock attribute looks a lot like a known one"
1909- }
1910-
1911- declare_lint ! {
1912- /// The `missing_crate_level_docs` lint detects if documentation is
1913- /// missing at the crate root. This is a `rustdoc` only lint, see the
1914- /// documentation in the [rustdoc book].
1915- ///
1916- /// [rustdoc book]: ../../../rustdoc/lints.html#missing_crate_level_docs
1917- pub MISSING_CRATE_LEVEL_DOCS ,
1918- Allow ,
1919- "detects crates with no crate-level documentation"
1920- }
1921-
1922- declare_lint ! {
1923- /// The `missing_doc_code_examples` lint detects publicly-exported items
1924- /// without code samples in their documentation. This is a `rustdoc` only
1925- /// lint, see the documentation in the [rustdoc book].
1926- ///
1927- /// [rustdoc book]: ../../../rustdoc/lints.html#missing_doc_code_examples
1928- pub MISSING_DOC_CODE_EXAMPLES ,
1929- Allow ,
1930- "detects publicly-exported items without code samples in their documentation"
1931- }
1932-
1933- declare_lint ! {
1934- /// The `private_doc_tests` lint detects code samples in docs of private
1935- /// items not documented by `rustdoc`. This is a `rustdoc` only lint, see
1936- /// the documentation in the [rustdoc book].
1937- ///
1938- /// [rustdoc book]: ../../../rustdoc/lints.html#private_doc_tests
1939- pub PRIVATE_DOC_TESTS ,
1940- Allow ,
1941- "detects code samples in docs of private items not documented by rustdoc"
1942- }
1943-
1944- declare_lint ! {
1945- /// The `invalid_html_tags` lint detects invalid HTML tags. This is a
1946- /// `rustdoc` only lint, see the documentation in the [rustdoc book].
1947- ///
1948- /// [rustdoc book]: ../../../rustdoc/lints.html#invalid_html_tags
1949- pub INVALID_HTML_TAGS ,
1950- Allow ,
1951- "detects invalid HTML tags in doc comments"
1952- }
1953-
1954- declare_lint ! {
1955- /// The `non_autolinks` lint detects when a URL could be written using
1956- /// only angle brackets. This is a `rustdoc` only lint, see the
1957- /// documentation in the [rustdoc book].
1958- ///
1959- /// [rustdoc book]: ../../../rustdoc/lints.html#non_autolinks
1960- pub NON_AUTOLINKS ,
1961- Warn ,
1962- "detects URLs that could be written using only angle brackets"
1963- }
1964-
19651878declare_lint ! {
19661879 /// The `where_clauses_object_safety` lint detects for [object safety] of
19671880 /// [where clauses].
@@ -3020,14 +2933,6 @@ declare_lint_pass! {
30202933 ABSOLUTE_PATHS_NOT_STARTING_WITH_CRATE ,
30212934 UNSTABLE_NAME_COLLISIONS ,
30222935 IRREFUTABLE_LET_PATTERNS ,
3023- BROKEN_INTRA_DOC_LINKS ,
3024- PRIVATE_INTRA_DOC_LINKS ,
3025- INVALID_CODEBLOCK_ATTRIBUTES ,
3026- MISSING_CRATE_LEVEL_DOCS ,
3027- MISSING_DOC_CODE_EXAMPLES ,
3028- INVALID_HTML_TAGS ,
3029- PRIVATE_DOC_TESTS ,
3030- NON_AUTOLINKS ,
30312936 WHERE_CLAUSES_OBJECT_SAFETY ,
30322937 PROC_MACRO_DERIVE_RESOLUTION_FALLBACK ,
30332938 MACRO_USE_EXTERN_CRATE ,
0 commit comments