blob: 4c5ec02035ac9f6bbb83a3331c887c58d298866b [file]
// { dg-options "-w" }
#![feature(no_core)]
#![no_core]
#![feature(lang_items)]
#[lang = "sized"]
pub trait Sized {}
struct Ref<'a, T> {
x: &'a T,
}
pub fn test<'a, 'b, 'c>() {
let (_, &&Ref::<(&'_ i32, i32)> { x: &(a, b) }): (i32, &'_ &'b Ref<'b, (&'c i32, i32)>);
}