]> git.lizzy.rs Git - rust.git/blob - tests/ui/dyn-star/dyn-to-rigid.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / dyn-star / dyn-to-rigid.stderr
1 error[E0606]: casting `(dyn* Tr + 'static)` as `usize` is invalid
2   --> $DIR/dyn-to-rigid.rs:7:5
3    |
4 LL |     x as usize
5    |     ^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0606`.