I have test.rs:
const TEST: &'static str = "Test.bin";
fn main() {
let x = include_bytes!(TEST);
}
rustc test.rs
How to fix this error?
error: argument must be a string literal
--> test.rs:4:22
|
4 | let x = include_bytes!(TEST);
| ^^^^