rust/crates/parser/test_data/parser/ok/0036_fully_qualified.rs
2022-07-08 15:44:49 +02:00

9 lines
153 B
Rust

// https://github.com/rust-lang/rust-analyzer/issues/311
pub fn foo<S: Iterator>() -> String
where
<S as Iterator>::Item: Eq,
{
"".to_owned()
}