fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0308]: mismatched types 2 --> $DIR/lit.rs:7:13 3 | 4LL | "abc" => true, 5 | ^^^^^ expected &str, found str 6 | 7 = note: expected type `&&str` 8 found type `&'static str` 9 10error[E0308]: mismatched types 11 --> $DIR/lit.rs:16:9 12 | 13LL | b"abc" => true, 14 | ^^^^^^ expected &[u8], found array of 3 elements 15 | 16 = note: expected type `&&[u8]` 17 found type `&'static [u8; 3]` 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0308`.