Skip to content

Commit

Permalink
Update src/test/ui/rust-2021/future-prelude-collision-unneeded.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Jul 8, 2021
1 parent 99b5d2a commit 2083207
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/ui/rust-2021/future-prelude-collision-unneeded.rs
Expand Up @@ -50,6 +50,8 @@ fn main() {
let s = S;
let s2 = s.try_into();

// Check that we do not issue suggestions for types that do not implement `FromIter`.
//
// See https://github.com/rust-lang/rust/issues/86902
X::from_iter(1);
Y::from_iter(1);
Expand Down

0 comments on commit 2083207

Please sign in to comment.