optin_builtin_traits is now called auto_traits

This commit is contained in:
Carl Fredrik Samson
2020-12-06 01:49:29 +01:00
parent e4b84bdd83
commit 94a194884a

View File

@@ -611,7 +611,7 @@ But now, let's prevent this problem using `Pin`. I've commented along the way to
make it easier to spot and understand the changes we need to make.
```rust
#![feature(optin_builtin_traits, negative_impls)] // needed to implement `!Unpin`
#![feature(auto_traits, negative_impls)] // needed to implement `!Unpin`
use std::pin::Pin;
pub fn main() {