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)]`.
This commit is contained in:
commit
4b6f838e56
1 changed files with 0 additions and 1 deletions
|
@ -12,7 +12,6 @@ so long as `Bar: Foo`.
|
|||
|
||||
```rust,edition2018
|
||||
#![feature(trait_upcasting)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
trait Foo {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue