summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/borrowck-error.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/new-solver/borrowck-error.stderr')
-rw-r--r--tests/ui/traits/new-solver/borrowck-error.stderr12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/ui/traits/new-solver/borrowck-error.stderr b/tests/ui/traits/new-solver/borrowck-error.stderr
deleted file mode 100644
index a7d820174..000000000
--- a/tests/ui/traits/new-solver/borrowck-error.stderr
+++ /dev/null
@@ -1,12 +0,0 @@
-error[E0515]: cannot return reference to temporary value
- --> $DIR/borrowck-error.rs:7:5
- |
-LL | &HashMap::new()
- | ^--------------
- | ||
- | |temporary value created here
- | returns a reference to data owned by the current function
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0515`.