From 631cd5845e8de329d0e227aaa707d7ea228b8f8f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:20:29 +0200 Subject: Merging upstream version 1.70.0+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/unique/unique-object-move.rs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 tests/ui/unique/unique-object-move.rs (limited to 'tests/ui/unique/unique-object-move.rs') diff --git a/tests/ui/unique/unique-object-move.rs b/tests/ui/unique/unique-object-move.rs deleted file mode 100644 index bb35a9b2d..000000000 --- a/tests/ui/unique/unique-object-move.rs +++ /dev/null @@ -1,18 +0,0 @@ -// run-pass -#![allow(dead_code)] -// Issue #5192 - -// pretty-expanded FIXME #23616 - -pub trait EventLoop { fn foo(&self) {} } - -pub struct UvEventLoop { - uvio: isize -} - -impl EventLoop for UvEventLoop { } - -pub fn main() { - let loop_: Box = Box::new(UvEventLoop { uvio: 0 }) as Box; - let _loop2_ = loop_; -} -- cgit v1.2.3