WIP tweak example to include feature gate
This commit is contained in:
parent
94eebaa325
commit
3955708576
1 changed files with 2 additions and 0 deletions
|
@ -2081,6 +2081,8 @@ appear within the `impl Trait` itself.
|
|||
Erroneous code example:
|
||||
|
||||
```compile-fail,E0909
|
||||
#![feature(conservative_impl_trait)]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
||||
trait Trait<'a> { }
|
||||
|
|
Loading…
Add table
Reference in a new issue