+declare_lint! {
+ /// The `non_autolinks` lint detects when a URL could be written using
+ /// only angle brackets. This is a `rustdoc` only lint, see the
+ /// documentation in the [rustdoc book].
+ ///
+ /// [rustdoc book]: ../../../rustdoc/lints.html#non_autolinks
+ pub NON_AUTOLINKS,
+ Warn,
+ "detects URLs that could be written using only angle brackets"
+}
+