1 error[E0308]: mismatched types
4 LL | "abc" => true, //~ ERROR mismatched types
5 | ^^^^^ expected &str, found str
7 = note: expected type `&&str`
8 found type `&'static str`
10 error[E0308]: mismatched types
13 LL | b"abc" => true, //~ ERROR mismatched types
14 | ^^^^^^ expected &[u8], found array of 3 elements
16 = note: expected type `&&[u8]`
17 found type `&'static [u8; 3]`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0308`.