fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error: higher-ranked subtype error 2 --> $DIR/issue-30786.rs:108:15 3 | 4LL | let map = source.map(|x: &_| x); 5 | ^^^^^^^^^^^^^^^^^^^^^ 6 7error: higher-ranked subtype error 8 --> $DIR/issue-30786.rs:114:18 9 | 10LL | let filter = map.filter(|x: &_| true); 11 | ^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: higher-ranked subtype error 14 --> $DIR/issue-30786.rs:116:17 15 | 16LL | let count = filter.count(); // Assert that we still have a valid stream. 17 | ^^^^^^^^^^^^^^ 18 19error: aborting due to 3 previous errors 20