diff options
| author | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2022-04-17 15:00:32 -0400 |
|---|---|---|
| committer | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2022-05-06 23:35:42 -0400 |
| commit | 62d0e4cba94713cd7e4149da73875654bedf75b7 (patch) | |
| tree | d222f69ca1300085145d37626880efcb7b3a810d /src/test/ui/resolve | |
| parent | 15495767324ec173a01b6ff0197b5c4fceb61d21 (diff) | |
Resolve vars in note_type_err
Diffstat (limited to 'src/test/ui/resolve')
| -rw-r--r-- | src/test/ui/resolve/resolve-inconsistent-binding-mode.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/resolve/resolve-inconsistent-binding-mode.stderr b/src/test/ui/resolve/resolve-inconsistent-binding-mode.stderr index c14dfa3601a..96c1869b4e7 100644 --- a/src/test/ui/resolve/resolve-inconsistent-binding-mode.stderr +++ b/src/test/ui/resolve/resolve-inconsistent-binding-mode.stderr @@ -54,8 +54,8 @@ LL | Opts::A(ref mut i) | Opts::B(ref i) => {} | | | first introduced with type `&mut isize` here | - = note: expected type `&mut isize` - found type `&isize` + = note: expected mutable reference `&mut isize` + found reference `&isize` = note: in the same arm, a binding must have the same type in all alternatives error: aborting due to 6 previous errors |
