From 1376c5a617be5c25655d0d7cb63e3beaa5a6e026 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:20:39 +0200 Subject: Merging upstream version 1.70.0+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/box/unit/unique-drop-complex.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/ui/box/unit/unique-drop-complex.rs (limited to 'tests/ui/box/unit/unique-drop-complex.rs') diff --git a/tests/ui/box/unit/unique-drop-complex.rs b/tests/ui/box/unit/unique-drop-complex.rs new file mode 100644 index 000000000..2324f1e1a --- /dev/null +++ b/tests/ui/box/unit/unique-drop-complex.rs @@ -0,0 +1,6 @@ +// run-pass +// pretty-expanded FIXME #23616 + +pub fn main() { + let _x: Box<_> = Box::new(vec![0,0,0,0,0]); +} -- cgit v1.2.3