WIP tweak example to include feature gate

This commit is contained in:
Niko Matsakis 2018-03-21 16:31:20 -04:00
parent 94eebaa325
commit 3955708576

View file

@ -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> { }