mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
13 lines
235 B
Rust
13 lines
235 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
#![allow(unused_variables)]
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
struct A<'a, 'b> where 'a : 'b { x: &'a isize, y: &'b isize }
|
|
|
|
fn main() {
|
|
let x = 1;
|
|
let y = 1;
|
|
let a = A { x: &x, y: &y };
|
|
}
|