Skip to content

Commit f59a560

Browse files
authored
Rollup merge of #114286 - nbdd0121:upcast, r=compiler-errors
Add missing feature gate in multiple_supertrait_upcastable doc Fix #112424
2 parents 81bb311 + e617faa commit f59a560

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_lint/src/multiple_supertrait_upcastable.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ declare_lint! {
1010
/// ### Example
1111
///
1212
/// ```rust
13+
/// #![feature(multiple_supertrait_upcastable)]
1314
/// trait A {}
1415
/// trait B {}
1516
///

0 commit comments

Comments
 (0)