]> git.lizzy.rs Git - rust.git/blob - src/test/ui/order-dependent-cast-inference.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / order-dependent-cast-inference.stderr
1 error[E0641]: cannot cast to a pointer of an unknown kind
2   --> $DIR/order-dependent-cast-inference.rs:5:17
3    |
4 LL |     let mut y = 0 as *const _;
5    |                 ^^^^^--------
6    |                      |
7    |                      help: consider giving more type information
8    |
9    = note: The type information given here is insufficient to check whether the pointer cast is valid
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0641`.