diff --git a/src/test/ui/union/union-move.stderr b/src/test/ui/union/union-move.stderr index 4a29f3a77f3..5679192b641 100644 --- a/src/test/ui/union/union-move.stderr +++ b/src/test/ui/union/union-move.stderr @@ -27,7 +27,7 @@ LL | move_out(x.f1_nocopy); | ^^^^^^^^^^^ | | | cannot move out of here - | move occurs because `x.f1_nocopy` has type `std::cell::RefCell`, which does not implement the `Copy` trait + | move occurs because `x.f1_nocopy` has type `RefCell`, which does not implement the `Copy` trait error: aborting due to 3 previous errors