rust/tests/ui/parser/issues/issue-93867.rs

11 lines
230 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
//~^^ ERROR expected one of `,` or `>`, found `K`
unimplemented!()
}