rust/tests/ui/nll/issue-55288.rs
2023-01-11 09:32:08 +00:00

10 lines
139 B
Rust

// check-pass
struct Slice(&'static [&'static [u8]]);
static MAP: Slice = Slice(&[
b"CloseEvent" as &'static [u8],
]);
fn main() {}