rust/tests/ui/feature-gates/feature-gate-concat_bytes.rs
2023-01-11 09:32:08 +00:00

5 lines
145 B
Rust

fn main() {
let a = concat_bytes!(b'A', b"BC"); //~ ERROR use of unstable library feature 'concat_bytes'
assert_eq!(a, &[65, 66, 67]);
}