rust/src/test/ui/rfc-2093-infer-outlives/nested-regions.stderr
toidiu 731f4efae5 stabalize infer outlives requirements (RFC 2093).
Co-authored-by: nikomatsakis
2018-09-11 11:40:04 -04:00

15 lines
271 B
Plaintext

error: rustc_outlives
--> $DIR/nested-regions.rs:14:1
|
LL | / struct Foo<'a, 'b, T> { //~ ERROR 14:1: 16:2: rustc_outlives
LL | | x: &'a &'b T
LL | | }
| |_^
|
= note: 'b : 'a
= note: T : 'a
= note: T : 'b
error: aborting due to previous error