]> git.lizzy.rs Git - rust.git/blob - src/test/ui/existential-type/issue-58887.stderr
Auto merge of #63089 - kennytm:use-try-run-for-linkchecker, r=Mark-Simulacrum
[rust.git] / src / test / ui / existential-type / issue-58887.stderr
1 error: type parameter `T` is part of concrete type but not used in parameter list for existential type
2   --> $DIR/issue-58887.rs:16:41
3    |
4 LL |       fn unwrap_items(self) -> Self::Iter {
5    |  _________________________________________^
6 LL | |
7 LL | |
8 LL | |         self.map(|x| x.unwrap())
9 LL | |     }
10    | |_____^
11
12 error: type parameter `E` is part of concrete type but not used in parameter list for existential type
13   --> $DIR/issue-58887.rs:16:41
14    |
15 LL |       fn unwrap_items(self) -> Self::Iter {
16    |  _________________________________________^
17 LL | |
18 LL | |
19 LL | |         self.map(|x| x.unwrap())
20 LL | |     }
21    | |_____^
22
23 error: could not find defining uses
24   --> $DIR/issue-58887.rs:13:5
25    |
26 LL |     existential type Iter: Iterator<Item = T>;
27    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28
29 error: aborting due to 3 previous errors
30