Skip to content

Commit

Permalink
Rollup merge of #114286 - nbdd0121:upcast, r=compiler-errors
Browse files Browse the repository at this point in the history
Add missing feature gate in multiple_supertrait_upcastable doc

Fix #112424
  • Loading branch information
matthiaskrgr authored Jul 31, 2023
2 parents 81bb311 + e617faa commit f59a560
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_lint/src/multiple_supertrait_upcastable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ declare_lint! {
/// ### Example
///
/// ```rust
/// #![feature(multiple_supertrait_upcastable)]
/// trait A {}
/// trait B {}
///
Expand Down

0 comments on commit f59a560

Please sign in to comment.