diff options
Diffstat (limited to 'tests/ui/deref-patterns')
-rw-r--r-- | tests/ui/deref-patterns/gate.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/deref-patterns/gate.stderr b/tests/ui/deref-patterns/gate.stderr index 993468b5e..b5b79ed37 100644 --- a/tests/ui/deref-patterns/gate.stderr +++ b/tests/ui/deref-patterns/gate.stderr @@ -4,7 +4,7 @@ error[E0308]: mismatched types LL | match String::new() { | ------------- this expression has type `String` LL | "" | _ => {} - | ^^ expected struct `String`, found `&str` + | ^^ expected `String`, found `&str` error: aborting due to previous error |