]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hrtb/issue-30786.nll.stderr
c736c5479f848a47a0b9cd05927477795f280dc6
[rust.git] / src / test / ui / hrtb / issue-30786.nll.stderr
1 error: higher-ranked subtype error
2   --> $DIR/issue-30786.rs:108:15
3    |
4 LL |     let map = source.map(|x: &_| x);
5    |               ^^^^^^^^^^^^^^^^^^^^^
6
7 error: higher-ranked subtype error
8   --> $DIR/issue-30786.rs:114:18
9    |
10 LL |     let filter = map.filter(|x: &_| true);
11    |                  ^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: higher-ranked subtype error
14   --> $DIR/issue-30786.rs:114:18
15    |
16 LL |     let filter = map.filter(|x: &_| true);
17    |                  ^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error: higher-ranked subtype error
20   --> $DIR/issue-30786.rs:114:18
21    |
22 LL |     let filter = map.filter(|x: &_| true);
23    |                  ^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error: higher-ranked subtype error
26   --> $DIR/issue-30786.rs:114:18
27    |
28 LL |     let filter = map.filter(|x: &_| true);
29    |                  ^^^^^^^^^^^^^^^^^^^^^^^^
30
31 error: higher-ranked subtype error
32   --> $DIR/issue-30786.rs:119:17
33    |
34 LL |     let count = filter.count(); // Assert that we still have a valid stream.
35    |                 ^^^^^^^^^^^^^^
36
37 error: higher-ranked subtype error
38   --> $DIR/issue-30786.rs:119:17
39    |
40 LL |     let count = filter.count(); // Assert that we still have a valid stream.
41    |                 ^^^^^^^^^^^^^^
42
43 error: higher-ranked subtype error
44   --> $DIR/issue-30786.rs:119:17
45    |
46 LL |     let count = filter.count(); // Assert that we still have a valid stream.
47    |                 ^^^^^^^^^^^^^^
48
49 error: higher-ranked subtype error
50   --> $DIR/issue-30786.rs:119:17
51    |
52 LL |     let count = filter.count(); // Assert that we still have a valid stream.
53    |                 ^^^^^^^^^^^^^^
54
55 error: aborting due to 9 previous errors
56