From cf2dff2b1e3fa55fa5415d524200070d0d7aacfe Mon Sep 17 00:00:00 2001 From: Albert Larsan <74931857+albertlarsan68@users.noreply.github.com> Date: Thu, 5 Jan 2023 09:13:28 +0100 Subject: Move /src/test to /tests --- src/test/ui/string-box-error.rs | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 src/test/ui/string-box-error.rs (limited to 'src/test/ui/string-box-error.rs') diff --git a/src/test/ui/string-box-error.rs b/src/test/ui/string-box-error.rs deleted file mode 100644 index 11a5bd07c3b..00000000000 --- a/src/test/ui/string-box-error.rs +++ /dev/null @@ -1,12 +0,0 @@ -// run-pass -// Ensure that both `Box` and `Box` can be -// obtained from `String`. - -use std::error::Error; - -fn main() { - let _err1: Box = From::from("test".to_string()); - let _err2: Box = From::from("test".to_string()); - let _err3: Box = From::from("test"); - let _err4: Box = From::from("test"); -} -- cgit 1.4.1-3-g733a5