2 //[mir]compile-flags: -Z borrowck=mir
11 let _y = &**x; //[ast]~ ERROR use of possibly uninitialized variable: `**x` [E0381]
15 let _y = &**x; //[ast]~ ERROR use of possibly uninitialized variable: `**x` [E0381]
19 let _y = &**x; //[ast]~ ERROR use of possibly uninitialized variable: `**x` [E0381]
23 let mut a: S<i32, i32>;
24 a.x = 0; //[mir]~ ERROR assign to part of possibly uninitialized variable: `a` [E0381]
25 let _b = &a.x; //[ast]~ ERROR use of possibly uninitialized variable: `a.x` [E0381]
28 let mut a: S<&&i32, &&i32>;
29 a.x = &&0; //[mir]~ ERROR assign to part of possibly uninitialized variable: `a` [E0381]
30 let _b = &**a.x; //[ast]~ ERROR use of possibly uninitialized variable: `**a.x` [E0381]
34 let mut a: S<i32, i32>;
35 a.x = 0; //[mir]~ ERROR assign to part of possibly uninitialized variable: `a` [E0381]
36 let _b = &a.y; //[ast]~ ERROR use of possibly uninitialized variable: `a.y` [E0381]
39 let mut a: S<&&i32, &&i32>;
40 a.x = &&0; //[mir]~ assign to part of possibly uninitialized variable: `a` [E0381]
41 let _b = &**a.y; //[ast]~ ERROR use of possibly uninitialized variable: `**a.y` [E0381]