mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
13 lines
233 B
Rust
13 lines
233 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 };
|
|
}
|