From 264d0a2e5c7291dc2dd2701b8e990c6fb58b54ed Mon Sep 17 00:00:00 2001 From: JoshBrudnak Date: Sun, 19 Aug 2018 19:16:48 -0400 Subject: [PATCH] Move non-existant type return test to the ui suite --- src/test/{compile-fail => ui}/issue-53300.rs | 0 src/test/ui/issue-53300.stderr | 9 +++++++++ 2 files changed, 9 insertions(+) rename src/test/{compile-fail => ui}/issue-53300.rs (100%) create mode 100644 src/test/ui/issue-53300.stderr diff --git a/src/test/compile-fail/issue-53300.rs b/src/test/ui/issue-53300.rs similarity index 100% rename from src/test/compile-fail/issue-53300.rs rename to src/test/ui/issue-53300.rs diff --git a/src/test/ui/issue-53300.stderr b/src/test/ui/issue-53300.stderr new file mode 100644 index 0000000000000..920287a32d69d --- /dev/null +++ b/src/test/ui/issue-53300.stderr @@ -0,0 +1,9 @@ +error[E0412]: cannot find type `Wrapper` in this scope + --> $DIR/issue-53300.rs:17:18 + | +LL | fn addition() -> Wrapper {} + | ^^^^^^^ not found in this scope + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0412`.