summaryrefslogtreecommitdiffstats
path: root/tests/ui/dyn-star/dyn-to-rigid.stderr
blob: 588e6d97e5ca39c30494b36da8090b855ca69e7b (plain)
1
2
3
4
5
6
7
8
9
error[E0606]: casting `(dyn* Tr + 'static)` as `usize` is invalid
  --> $DIR/dyn-to-rigid.rs:7:5
   |
LL |     x as usize
   |     ^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0606`.