Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
// https://github.com/rust-analyzer/rust-analyzer/issues/311

pub fn foo<S: Iterator>() -> String
where
    <S as Iterator>::Item: Eq,
{
    "".to_owned()
}