]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfc-2093-infer-outlives/nested-regions.rs
Rollup merge of #107442 - lukas-code:slice-panics, r=cuviper
[rust.git] / tests / ui / rfc-2093-infer-outlives / nested-regions.rs
1 #![feature(rustc_attrs)]
2
3 #[rustc_outlives]
4 struct Foo<'a, 'b, T> { //~ ERROR rustc_outlives
5     x: &'a &'b T
6 }
7
8 fn main() {}