rust/tests/ui/issues/issue-2748-a.rs
2023-01-11 09:32:08 +00:00

18 lines
220 B
Rust

// build-pass
#![allow(dead_code)]
#![allow(non_snake_case)]
// pretty-expanded FIXME #23616
struct CMap<'a> {
buf: &'a [u8],
}
fn CMap(buf: &[u8]) -> CMap {
CMap {
buf: buf
}
}
pub fn main() { }