diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-10-31 15:14:44 +0100 | 
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-11-05 10:22:08 +0100 | 
| commit | 9d114506c68ce717503d0fa1eb335db5c80c195f (patch) | |
| tree | 1b07331f6db8d84c9a6b9eb6fdf00c1d8ce22582 /src/librustdoc/core.rs | |
| parent | 6be97e225099cc59dc63f6fc01af7c525d0334df (diff) | |
| download | rust-9d114506c68ce717503d0fa1eb335db5c80c195f.tar.gz rust-9d114506c68ce717503d0fa1eb335db5c80c195f.zip | |
Rename lint to non_autolinks
Diffstat (limited to 'src/librustdoc/core.rs')
| -rw-r--r-- | src/librustdoc/core.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index 85d73a30e4b..5cb7a32cf0c 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -330,7 +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 non_autolinks = rustc_lint::builtin::NON_AUTOLINKS.name; let unknown_lints = rustc_lint::builtin::UNKNOWN_LINTS.name; // In addition to those specific lints, we also need to allow those given through @@ -345,7 +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(), + non_autolinks.to_owned(), ]; let (lint_opts, lint_caps) = init_lints(lints_to_show, lint_opts, |lint| { | 
