diff options
Diffstat (limited to 'tests/ui/resolve/token-error-correct-2.stderr')
-rw-r--r-- | tests/ui/resolve/token-error-correct-2.stderr | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/ui/resolve/token-error-correct-2.stderr b/tests/ui/resolve/token-error-correct-2.stderr new file mode 100644 index 000000000..cca9f2dc8 --- /dev/null +++ b/tests/ui/resolve/token-error-correct-2.stderr @@ -0,0 +1,18 @@ +error: mismatched closing delimiter: `)` + --> $DIR/token-error-correct-2.rs:4:12 + | +LL | if foo { + | ^ unclosed delimiter +LL | +LL | ) + | ^ mismatched closing delimiter + +error[E0425]: cannot find value `foo` in this scope + --> $DIR/token-error-correct-2.rs:4:8 + | +LL | if foo { + | ^^^ not found in this scope + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0425`. |