about summary refs log tree commit diff
path: root/src/test/ui/span
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-03-09 17:11:06 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-03-09 17:27:22 +0300
commitc1a73d2f4a8ef0003b93c4307930438be4aae9a5 (patch)
tree0ce6425ea34d926a0ef7650d4a8fe470b9a8600e /src/test/ui/span
parentfedce67cd21dc08ece5a484fe1a060346acac98a (diff)
downloadrust-c1a73d2f4a8ef0003b93c4307930438be4aae9a5.tar.gz
rust-c1a73d2f4a8ef0003b93c4307930438be4aae9a5.zip
tidy: Add a check for stray `.stderr` and `.stdout` files in UI test directories
Diffstat (limited to 'src/test/ui/span')
-rw-r--r--src/test/ui/span/loan-extend.stderr14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/span/loan-extend.stderr b/src/test/ui/span/loan-extend.stderr
deleted file mode 100644
index af498129fc4..00000000000
--- a/src/test/ui/span/loan-extend.stderr
+++ /dev/null
@@ -1,14 +0,0 @@
-error[E0597]: `short` does not live long enough
-  --> $DIR/loan-extend.rs:21:1
-   |
-19 |     long = borrow(&mut short);
-   |                        ----- borrow occurs here
-20 |
-21 | }
-   | ^ `short` dropped here while still borrowed
-   |
-   = note: values in a scope are dropped in the opposite order they are created
-
-error: aborting due to previous error
-
-If you want more information on this error, try using "rustc --explain E0597"