diff options
| author | Gary Guo <gary@garyguo.net> | 2023-07-31 12:28:53 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2023-07-31 12:28:53 +0100 |
| commit | e617faabe7cbb721ffa585aef6ab00e2b85da318 (patch) | |
| tree | 2ad83645b44e83379672f56248bd8a6749e87fa9 | |
| parent | 5082281609a7c3bcba0292b0db6a0d3e20bf9549 (diff) | |
| download | rust-e617faabe7cbb721ffa585aef6ab00e2b85da318.tar.gz rust-e617faabe7cbb721ffa585aef6ab00e2b85da318.zip | |
Add missing feature gate in multiple_supertrait_upcastable doc
| -rw-r--r-- | compiler/rustc_lint/src/multiple_supertrait_upcastable.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/multiple_supertrait_upcastable.rs b/compiler/rustc_lint/src/multiple_supertrait_upcastable.rs index 53fe0ceb234..84558ee1f02 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 {} /// |
