summaryrefslogtreecommitdiffstats
path: root/src/test/ui/did_you_mean/issue-103909.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/did_you_mean/issue-103909.stderr')
-rw-r--r--src/test/ui/did_you_mean/issue-103909.stderr26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/test/ui/did_you_mean/issue-103909.stderr b/src/test/ui/did_you_mean/issue-103909.stderr
deleted file mode 100644
index 864101747..000000000
--- a/src/test/ui/did_you_mean/issue-103909.stderr
+++ /dev/null
@@ -1,26 +0,0 @@
-error[E0425]: cannot find value `err` in this scope
- --> $DIR/issue-103909.rs:5:12
- |
-LL | if Err(err) = File::open("hello.txt") {
- | ^^^ not found in this scope
- |
-help: you might have meant to use pattern matching
- |
-LL | if let Err(err) = File::open("hello.txt") {
- | +++
-
-error[E0308]: mismatched types
- --> $DIR/issue-103909.rs:5:8
- |
-LL | if Err(err) = File::open("hello.txt") {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()`
- |
-help: consider adding `let`
- |
-LL | if let Err(err) = File::open("hello.txt") {
- | +++
-
-error: aborting due to 2 previous errors
-
-Some errors have detailed explanations: E0308, E0425.
-For more information about an error, try `rustc --explain E0308`.