1 error[E0381]: use of possibly uninitialized variable: `*x`
2 --> $DIR/borrowck-use-uninitialized-in-cast-trait.rs:22:13
4 LL | let y = x as *const Foo; //[ast]~ ERROR use of possibly uninitialized variable: `*x`
5 | ^ use of possibly uninitialized `*x`
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0381`.