about summary refs log tree commit diff
path: root/tests/ui/parser/expr-as-stmt.stderr
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-02-18 01:50:10 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-02-25 16:56:04 +0000
commit7302dc660b997c882b3a250fb6a23f60259fbdf5 (patch)
tree4e67b0e4a6a0d517d94ac025eb0c340ac6ae72b2 /tests/ui/parser/expr-as-stmt.stderr
parentae3a825faa5dbcba6a223d0d225fd5535bf5f014 (diff)
downloadrust-7302dc660b997c882b3a250fb6a23f60259fbdf5.tar.gz
rust-7302dc660b997c882b3a250fb6a23f60259fbdf5.zip
Make E0614 a structured error
```
error[E0614]: type `(..., ..., ..., ...)` cannot be dereferenced
  --> $DIR/long-E0614.rs:10:5
   |
LL |     *x;
   |     ^^ can't be dereferenced
   |
   = note: the full name for the type has been written to '$TEST_BUILD_DIR/$FILE.long-type-hash.txt'
   = note: consider using `--verbose` to print the full type name to the console
```
Diffstat (limited to 'tests/ui/parser/expr-as-stmt.stderr')
-rw-r--r--tests/ui/parser/expr-as-stmt.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/parser/expr-as-stmt.stderr b/tests/ui/parser/expr-as-stmt.stderr
index 76a83aa0161..577c3455a71 100644
--- a/tests/ui/parser/expr-as-stmt.stderr
+++ b/tests/ui/parser/expr-as-stmt.stderr
@@ -133,7 +133,7 @@ error[E0614]: type `{integer}` cannot be dereferenced
   --> $DIR/expr-as-stmt.rs:25:11
    |
 LL |     { 3 } * 3
-   |           ^^^
+   |           ^^^ can't be dereferenced
    |
 help: parentheses are required to parse this as an expression
    |