update unstable book and error example
This commit is contained in:
parent
97de8cae6e
commit
94b07a91bc
@ -24,9 +24,7 @@ Example:
|
||||
```rust
|
||||
#![feature(optin_builtin_traits)]
|
||||
|
||||
trait Valid {}
|
||||
|
||||
impl Valid for .. {}
|
||||
auto trait Valid {}
|
||||
|
||||
struct True;
|
||||
struct False;
|
||||
|
@ -1854,7 +1854,7 @@ unsafe impl !Clone for Foo { }
|
||||
|
||||
This will compile:
|
||||
|
||||
```
|
||||
```ignore (ignore auto_trait future compatibility warning)
|
||||
#![feature(optin_builtin_traits)]
|
||||
|
||||
struct Foo;
|
||||
|
Loading…
Reference in New Issue
Block a user