summaryrefslogtreecommitdiffstats
path: root/tests/ui/generator/pattern-borrow.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generator/pattern-borrow.stderr')
-rw-r--r--tests/ui/generator/pattern-borrow.stderr11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/ui/generator/pattern-borrow.stderr b/tests/ui/generator/pattern-borrow.stderr
deleted file mode 100644
index d78da5104..000000000
--- a/tests/ui/generator/pattern-borrow.stderr
+++ /dev/null
@@ -1,11 +0,0 @@
-error[E0626]: borrow may still be in use when generator yields
- --> $DIR/pattern-borrow.rs:9:24
- |
-LL | if let Test::A(ref _a) = test {
- | ^^^^^^
-LL | yield ();
- | -------- possible yield occurs here
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0626`.