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:
Stuart Cook 2024-09-15 12:14:58 +10:00 committed by GitHub
commit 4b6f838e56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -12,7 +12,6 @@ so long as `Bar: Foo`.
```rust,edition2018
#![feature(trait_upcasting)]
#![allow(incomplete_features)]
trait Foo {}