diff options
| author | varkor <github@varkor.com> | 2019-04-22 17:35:37 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-04-23 11:42:14 +0100 |
| commit | 497dcfa221b8bccf712b6f20a0ef038afbca3e4c (patch) | |
| tree | e1b75d3798c7d10c0b710f29207b56d90f5c9eff /src/test/ui/moves | |
| parent | 62838975d005b01c110a355a6e60cdedc08ecd48 (diff) | |
| download | rust-497dcfa221b8bccf712b6f20a0ef038afbca3e4c.tar.gz rust-497dcfa221b8bccf712b6f20a0ef038afbca3e4c.zip | |
Update ui tests
Diffstat (limited to 'src/test/ui/moves')
| -rw-r--r-- | src/test/ui/moves/moves-based-on-type-block-bad.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/moves/moves-based-on-type-block-bad.stderr b/src/test/ui/moves/moves-based-on-type-block-bad.stderr index b83a15c9d4d..e28b22035f5 100644 --- a/src/test/ui/moves/moves-based-on-type-block-bad.stderr +++ b/src/test/ui/moves/moves-based-on-type-block-bad.stderr @@ -1,5 +1,5 @@ error[E0507]: cannot move out of borrowed content - --> $DIR/moves-based-on-type-block-bad.rs:24:19 + --> $DIR/moves-based-on-type-block-bad.rs:22:19 | LL | match hellothere.x { | ^^^^^^^^^^^^ @@ -11,7 +11,7 @@ LL | box E::Bar(x) => println!("{}", x.to_string()), | - data moved here | note: move occurs because `x` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait - --> $DIR/moves-based-on-type-block-bad.rs:27:28 + --> $DIR/moves-based-on-type-block-bad.rs:25:28 | LL | box E::Bar(x) => println!("{}", x.to_string()), | ^ |
