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

11 lines
224 B
Rust
Raw Normal View History

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!()
}