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