From 5ef071ee42dc0c63cdf9e8a36cc2f71d4249c847 Mon Sep 17 00:00:00 2001 From: Ryan Levick Date: Thu, 17 Jun 2021 19:36:49 +0200 Subject: [PATCH] Add back missing doc --- compiler/rustc_lint_defs/src/builtin.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index 2ddb196dd08d..cd5ebf76a4de 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -1966,6 +1966,7 @@ declare_lint! { /// macros in that external crate to be brought into the prelude of the /// crate, making the macros in scope everywhere. As part of the efforts /// to simplify handling of dependencies in the [2018 edition], the use of + /// `extern crate` is being phased out. To bring macros from extern crates /// into scope, it is recommended to use a [`use` import]. /// /// This lint is "allow" by default because this is a stylistic choice