mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
10c2fbec24
``` error[E0507]: cannot move out of `*x` which is behind a shared reference --> $DIR/borrowck-fn-in-const-a.rs:6:16 | LL | return *x | ^^ move occurs because `*x` has type `String`, which does not implement the `Copy` trait | help: consider cloning the value if the performance cost is acceptable | LL - return *x LL + return x.clone() | ``` |
||
---|---|---|
.. | ||
issue-73021-impossible-inline.inline.stderr | ||
issue-73021-impossible-inline.no-opt.stderr | ||
issue-73021-impossible-inline.rs | ||
trivial-bounds-inconsistent-associated-functions.rs | ||
trivial-bounds-inconsistent-copy-reborrow.rs | ||
trivial-bounds-inconsistent-copy-reborrow.stderr | ||
trivial-bounds-inconsistent-copy.rs | ||
trivial-bounds-inconsistent-copy.stderr | ||
trivial-bounds-inconsistent-projection-error.rs | ||
trivial-bounds-inconsistent-projection-error.stderr | ||
trivial-bounds-inconsistent-projection.rs | ||
trivial-bounds-inconsistent-projection.stderr | ||
trivial-bounds-inconsistent-sized.rs | ||
trivial-bounds-inconsistent-sized.stderr | ||
trivial-bounds-inconsistent-well-formed.rs | ||
trivial-bounds-inconsistent-well-formed.stderr | ||
trivial-bounds-inconsistent.rs | ||
trivial-bounds-inconsistent.stderr | ||
trivial-bounds-leak-copy.rs | ||
trivial-bounds-leak-copy.stderr | ||
trivial-bounds-leak.rs | ||
trivial-bounds-leak.stderr | ||
trivial-bounds-lint.rs | ||
trivial-bounds-lint.stderr | ||
trivial-bounds-object.rs |