Skip to content

Commit 2083207

Browse files
authored
Update src/test/ui/rust-2021/future-prelude-collision-unneeded.rs
1 parent 99b5d2a commit 2083207

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/ui/rust-2021/future-prelude-collision-unneeded.rs

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ fn main() {
5050
let s = S;
5151
let s2 = s.try_into();
5252

53+
// Check that we do not issue suggestions for types that do not implement `FromIter`.
54+
//
5355
// See https://github.com/rust-lang/rust/issues/86902
5456
X::from_iter(1);
5557
Y::from_iter(1);

0 commit comments

Comments
 (0)