diff options
author | Esteban Küber <esteban@kuber.com.ar> | 2023-01-02 18:00:33 -0800 |
---|---|---|
committer | Esteban Küber <esteban@kuber.com.ar> | 2023-01-30 20:12:19 +0000 |
commit | 62ba3e70a1f01d801d068b84a097e38bd82a8c6e (patch) | |
tree | e7834f2924d6a0aa0ef7eddb6bb9b2db50b2be1d /tests/ui/switched-expectations.stderr | |
parent | 006ca9b14da1e0145844598b3d6a554c042c702a (diff) |
Modify primary span label for E0308
The previous output was unintuitive to users.
Diffstat (limited to 'tests/ui/switched-expectations.stderr')
-rw-r--r-- | tests/ui/switched-expectations.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/switched-expectations.stderr b/tests/ui/switched-expectations.stderr index 82fea0f14bd..744d8483bd3 100644 --- a/tests/ui/switched-expectations.stderr +++ b/tests/ui/switched-expectations.stderr @@ -2,7 +2,7 @@ error[E0308]: mismatched types --> $DIR/switched-expectations.rs:3:30 | LL | let ref string: String = var; - | ^^^ expected struct `String`, found `i32` + | ^^^ expected `String`, found `i32` error: aborting due to previous error |