Skip to content

Commit 3955708

Browse files
committed
WIP tweak example to include feature gate
1 parent 94eebaa commit 3955708

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc/diagnostics.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2081,6 +2081,8 @@ appear within the `impl Trait` itself.
20812081
Erroneous code example:
20822082
20832083
```compile-fail,E0909
2084+
#![feature(conservative_impl_trait)]
2085+
20842086
use std::cell::Cell;
20852087
20862088
trait Trait<'a> { }

0 commit comments

Comments
 (0)