about summary refs log tree commit diff
path: root/src/test/ui/rfc-2005-default-binding-mode
diff options
context:
space:
mode:
authorJack Huey <31162821+jackh726@users.noreply.github.com>2022-04-17 15:00:32 -0400
committerJack Huey <31162821+jackh726@users.noreply.github.com>2022-05-06 23:35:42 -0400
commit62d0e4cba94713cd7e4149da73875654bedf75b7 (patch)
treed222f69ca1300085145d37626880efcb7b3a810d /src/test/ui/rfc-2005-default-binding-mode
parent15495767324ec173a01b6ff0197b5c4fceb61d21 (diff)
downloadrust-62d0e4cba94713cd7e4149da73875654bedf75b7.tar.gz
rust-62d0e4cba94713cd7e4149da73875654bedf75b7.zip
Resolve vars in note_type_err
Diffstat (limited to 'src/test/ui/rfc-2005-default-binding-mode')
-rw-r--r--src/test/ui/rfc-2005-default-binding-mode/lit.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/rfc-2005-default-binding-mode/lit.stderr b/src/test/ui/rfc-2005-default-binding-mode/lit.stderr
index 6d18a39606c..11bc170cdfa 100644
--- a/src/test/ui/rfc-2005-default-binding-mode/lit.stderr
+++ b/src/test/ui/rfc-2005-default-binding-mode/lit.stderr
@@ -6,8 +6,8 @@ LL |     match &s {
 LL |             "abc" => true,
    |             ^^^^^ expected `&str`, found `str`
    |
-   = note:   expected type `&&str`
-           found reference `&'static str`
+   = note: expected reference `&&str`
+              found reference `&'static str`
 
 error[E0308]: mismatched types
   --> $DIR/lit.rs:16:9
@@ -17,8 +17,8 @@ LL |     match &s {
 LL |         b"abc" => true,
    |         ^^^^^^ expected `&[u8]`, found array `[u8; 3]`
    |
-   = note:   expected type `&&[u8]`
-           found reference `&'static [u8; 3]`
+   = note: expected reference `&&[u8]`
+              found reference `&'static [u8; 3]`
 
 error: aborting due to 2 previous errors