Skip to content

Commit

Permalink
Unrolled build for rust-lang#130370
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#130370 - kpreid:patch-2, r=compiler-errors

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
rust-timer authored Sep 15, 2024
2 parents 4f1be92 + 29ccc0d commit a7571a1
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 a7571a1

Please sign in to comment.