From e617faabe7cbb721ffa585aef6ab00e2b85da318 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Mon, 31 Jul 2023 12:28:53 +0100 Subject: [PATCH] Add missing feature gate in multiple_supertrait_upcastable doc --- compiler/rustc_lint/src/multiple_supertrait_upcastable.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_lint/src/multiple_supertrait_upcastable.rs b/compiler/rustc_lint/src/multiple_supertrait_upcastable.rs index 53fe0ceb23400..84558ee1f020c 100644 --- a/compiler/rustc_lint/src/multiple_supertrait_upcastable.rs +++ b/compiler/rustc_lint/src/multiple_supertrait_upcastable.rs @@ -10,6 +10,7 @@ declare_lint! { /// ### Example /// /// ```rust + /// #![feature(multiple_supertrait_upcastable)] /// trait A {} /// trait B {} ///