]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-97760.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / issue-97760.rs
1 pub fn print_values(values: &impl IntoIterator)
2 where {
3     for x in values.into_iter() {
4         println!("{x}");
5         //~^ ERROR <impl IntoIterator as IntoIterator>::Item` doesn't implement `std::fmt::Display
6     }
7 }
8
9 fn main() {}