Skip to content

Commit 4b6f838

Browse files
authored
Rollup merge of #130370 - kpreid:patch-2, r=compiler-errors
unstable-book: `trait_upcasting` example should not have `#![allow(incomplete_features)]` Tracking issue: #65991 `trait_upcasting` is not currently an incomplete feature; therefore examples of its use do not require `#![allow(incomplete_features)]`.
2 parents 12fb8e4 + 29ccc0d commit 4b6f838

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/doc/unstable-book/src/language-features/trait-upcasting.md

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ so long as `Bar: Foo`.
1212

1313
```rust,edition2018
1414
#![feature(trait_upcasting)]
15-
#![allow(incomplete_features)]
1615
1716
trait Foo {}
1817

0 commit comments

Comments
 (0)