update unstable book and error example
This commit is contained in:
parent
97de8cae6e
commit
94b07a91bc
2 changed files with 2 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue