2018-10-16 10:08:59 -05:00
|
|
|
error[E0381]: borrow of possibly uninitialized variable: `x`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/borrowck-use-uninitialized-in-cast-trait.rs:12:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-17 04:52:07 -05:00
|
|
|
LL | let y = x as *const Foo;
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^ use of possibly uninitialized `*x`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0381`.
|