fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
403 B14 linesraw
1error: higher-ranked subtype error
2  --> $DIR/issue-30786.rs:113:18
3   |
4LL |     let filter = map.filter(|x: &_| true);
5   |                  ^^^^^^^^^^^^^^^^^^^^^^^^
6
7error: higher-ranked subtype error
8  --> $DIR/issue-30786.rs:115:17
9   |
10LL |     let count = filter.count(); // Assert that we still have a valid stream.
11   |                 ^^^^^^^^^^^^^^
12
13error: aborting due to 2 previous errors
14