Skip to content

Commit

Permalink
Rollup merge of rust-lang#130370 - kpreid:patch-2, r=compiler-errors
Browse files Browse the repository at this point in the history
unstable-book: `trait_upcasting` example should not have `#![allow(incomplete_features)]`

Tracking issue: rust-lang#65991

`trait_upcasting` is not currently an incomplete feature; therefore examples of its use do not require `#![allow(incomplete_features)]`.
  • Loading branch information
Zalathar authored Sep 15, 2024
2 parents 12fb8e4 + 29ccc0d commit 4b6f838
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ so long as `Bar: Foo`.

```rust,edition2018
#![feature(trait_upcasting)]
#![allow(incomplete_features)]
trait Foo {}
Expand Down

0 comments on commit 4b6f838

Please sign in to comment.