]> git.lizzy.rs Git - rust.git/blob - tests/ui/trivial-bounds/trivial-bounds-leak-copy.stderr
Rollup merge of #106618 - jmillikin:os-net-rustdoc-wasm32, r=JohnTitor
[rust.git] / tests / ui / trivial-bounds / trivial-bounds-leak-copy.stderr
1 error[E0507]: cannot move out of `*t` which is behind a shared reference
2   --> $DIR/trivial-bounds-leak-copy.rs:9:5
3    |
4 LL |     *t
5    |     ^^ move occurs because `*t` has type `String`, which does not implement the `Copy` trait
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0507`.