diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2025-02-18 01:50:10 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2025-02-25 16:56:04 +0000 |
| commit | 7302dc660b997c882b3a250fb6a23f60259fbdf5 (patch) | |
| tree | 4e67b0e4a6a0d517d94ac025eb0c340ac6ae72b2 /tests/ui/reachable | |
| parent | ae3a825faa5dbcba6a223d0d225fd5535bf5f014 (diff) | |
| download | rust-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/reachable')
| -rw-r--r-- | tests/ui/reachable/expr_unary.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/reachable/expr_unary.stderr b/tests/ui/reachable/expr_unary.stderr index 0a763087c6f..7deca1b8602 100644 --- a/tests/ui/reachable/expr_unary.stderr +++ b/tests/ui/reachable/expr_unary.stderr @@ -2,7 +2,7 @@ error[E0614]: type `!` cannot be dereferenced --> $DIR/expr_unary.rs:8:16 | LL | let x: ! = * { return; }; - | ^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^ can't be dereferenced error: unreachable expression --> $DIR/expr_unary.rs:8:16 |
