summaryrefslogtreecommitdiffstats
path: root/src/test/ui/save-analysis/issue-37323.rs
blob: 55f5c5a9581b12fb21982446dfb20baf062d4f35 (plain)
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() {
}