update unstable book and error example

This commit is contained in:
leonardo.yvens 2017-10-15 17:58:25 -02:00
parent 97de8cae6e
commit 94b07a91bc
2 changed files with 2 additions and 4 deletions

View File

@ -24,9 +24,7 @@ Example:
```rust
#![feature(optin_builtin_traits)]
trait Valid {}
impl Valid for .. {}
auto trait Valid {}
struct True;
struct False;

View File

@ -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;