From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/rustdoc-ui/const-evalutation-ice.rs | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/test/rustdoc-ui/const-evalutation-ice.rs (limited to 'src/test/rustdoc-ui/const-evalutation-ice.rs') diff --git a/src/test/rustdoc-ui/const-evalutation-ice.rs b/src/test/rustdoc-ui/const-evalutation-ice.rs deleted file mode 100644 index 0dd3bcaa2..000000000 --- a/src/test/rustdoc-ui/const-evalutation-ice.rs +++ /dev/null @@ -1,11 +0,0 @@ -// Just check we don't get an ICE for `N`. - -use std::cell::Cell; -use std::mem; - -pub struct S { - s: Cell -} - -pub const N: usize = 0 - (mem::size_of::() != 400) as usize; -//~^ ERROR evaluation of constant value failed -- cgit v1.2.3