]> git.lizzy.rs Git - rust.git/blob - src/test/ui/order-dependent-cast-inference.stderr
Auto merge of #62748 - luca-barbieri:optimize-refcell-borrow, r=RalfJung
[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