mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
21 lines
235 B
Rust
21 lines
235 B
Rust
// 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() {
|
|
}
|