]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/core.rs
Rename automatic_links to url_improvements
[rust.git] / src / librustdoc / core.rs
index 45a84c4fb30d3e89f43dc9d9f3a520aed5654d22..85d73a30e4b6891f400a8cc922776aadb149255a 100644 (file)
@@ -330,6 +330,7 @@ pub fn run_core(
     let invalid_codeblock_attributes_name = rustc_lint::builtin::INVALID_CODEBLOCK_ATTRIBUTES.name;
     let invalid_html_tags = rustc_lint::builtin::INVALID_HTML_TAGS.name;
     let renamed_and_removed_lints = rustc_lint::builtin::RENAMED_AND_REMOVED_LINTS.name;
+    let url_improvements = rustc_lint::builtin::URL_IMPROVEMENTS.name;
     let unknown_lints = rustc_lint::builtin::UNKNOWN_LINTS.name;
 
     // In addition to those specific lints, we also need to allow those given through
@@ -344,6 +345,7 @@ pub fn run_core(
         invalid_html_tags.to_owned(),
         renamed_and_removed_lints.to_owned(),
         unknown_lints.to_owned(),
+        url_improvements.to_owned(),
     ];
 
     let (lint_opts, lint_caps) = init_lints(lints_to_show, lint_opts, |lint| {