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

11 lines
224 B
Rust

pub struct Entry<'a, K, V> {
k: &'a mut K,
v: V,
}
pub fn entry<'a, K, V>() -> Entry<'a K, V> {
// ^ missing comma
//~^^ expected one of `,` or `>`, found `K`
unimplemented!()
}