summaryrefslogtreecommitdiffstats
path: root/tests/ui/generator/yield-in-const.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generator/yield-in-const.stderr')
-rw-r--r--tests/ui/generator/yield-in-const.stderr9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/ui/generator/yield-in-const.stderr b/tests/ui/generator/yield-in-const.stderr
deleted file mode 100644
index dcf4fe63e..000000000
--- a/tests/ui/generator/yield-in-const.stderr
+++ /dev/null
@@ -1,9 +0,0 @@
-error[E0627]: yield expression outside of generator literal
- --> $DIR/yield-in-const.rs:3:17
- |
-LL | const A: u8 = { yield 3u8; 3u8};
- | ^^^^^^^^^
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0627`.