diff options
Diffstat (limited to 'tests/ui/resolve/token-error-correct.stderr')
-rw-r--r-- | tests/ui/resolve/token-error-correct.stderr | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/ui/resolve/token-error-correct.stderr b/tests/ui/resolve/token-error-correct.stderr new file mode 100644 index 000000000..ca0c4c18a --- /dev/null +++ b/tests/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`. |