summaryrefslogtreecommitdiffstats
path: root/tests/ui/or-patterns/inconsistent-modes.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/or-patterns/inconsistent-modes.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/or-patterns/inconsistent-modes.stderr b/tests/ui/or-patterns/inconsistent-modes.stderr
index f6367ef82..19618d336 100644
--- a/tests/ui/or-patterns/inconsistent-modes.stderr
+++ b/tests/ui/or-patterns/inconsistent-modes.stderr
@@ -57,8 +57,8 @@ LL | let (Ok(ref a) | Err(ref mut a)): Result<&u8, &mut u8> = Ok(&0);
| | types differ in mutability
| first introduced with type `&&u8` here
|
- = note: expected reference `&&u8`
- found mutable reference `&mut &mut u8`
+ = note: expected reference `&&_`
+ found mutable reference `&mut &mut _`
= note: a binding must have the same type in all alternatives
error[E0308]: mismatched types