mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +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() {
|
|
}
|