summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/token-error-correct.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/resolve/token-error-correct.stderr20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/ui/resolve/token-error-correct.stderr b/src/test/ui/resolve/token-error-correct.stderr
new file mode 100644
index 000000000..ca0c4c18a
--- /dev/null
+++ b/src/test/ui/resolve/token-error-correct.stderr
@@ -0,0 +1,20 @@
+error: mismatched closing delimiter: `}`
+ --> $DIR/token-error-correct.rs:4:12
+ |
+LL | fn main() {
+ | - closing delimiter possibly meant for this
+LL | foo(bar(;
+ | ^ unclosed delimiter
+LL |
+LL | }
+ | ^ mismatched closing delimiter
+
+error[E0425]: cannot find function `bar` in this scope
+ --> $DIR/token-error-correct.rs:4:9
+ |
+LL | foo(bar(;
+ | ^^^ not found in this scope
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0425`.