]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc-2005-default-binding-mode/lit.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / rfc-2005-default-binding-mode / lit.stderr
CommitLineData
ea8adc8c 1error[E0308]: mismatched types
0731742a 2 --> $DIR/lit.rs:7:13
ea8adc8c 3 |
532ac7d7 4LL | "abc" => true,
60c5eb7d 5 | ^^^^^ expected `&str`, found `str`
ea8adc8c 6 |
60c5eb7d
XL
7 = note: expected type `&&str`
8 found reference `&'static str`
ea8adc8c
XL
9
10error[E0308]: mismatched types
0731742a 11 --> $DIR/lit.rs:16:9
ea8adc8c 12 |
532ac7d7 13LL | b"abc" => true,
60c5eb7d 14 | ^^^^^^ expected `&[u8]`, found array `[u8; 3]`
ea8adc8c 15 |
60c5eb7d
XL
16 = note: expected type `&&[u8]`
17 found reference `&'static [u8; 3]`
ea8adc8c
XL
18
19error: aborting due to 2 previous errors
20
0531ce1d 21For more information about this error, try `rustc --explain E0308`.