rust/tests/ui/nll/issue-55288.rs
2024-02-16 20:02:50 +00:00

10 lines
140 B
Rust

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