1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// check-pass // compile-flags: -Zsave-analysis #![feature(rustc_attrs)] #![allow(warnings)] #[derive(Debug)] struct Point { } struct NestedA<'a, 'b> { x: &'a NestedB<'b> } struct NestedB<'a> { x: &'a i32, } fn main() { }