about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-37323.rs
blob: 61c8029adf53bd05a0a7ec893bda4904c8216605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// build-pass (FIXME(62277): could be check-pass?)

#![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() {
}