]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/issue-64662.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / consts / issue-64662.stderr
1 error[E0282]: type annotations needed
2 --> $DIR/issue-64662.rs:2:9
3 |
4 LL | A = foo(),
5 | ^^^ cannot infer type of the type parameter `T` declared on the function `foo`
6 |
7 help: consider specifying the generic argument
8 |
9 LL | A = foo::<T>(),
10 | +++++
11
12 error[E0282]: type annotations needed
13 --> $DIR/issue-64662.rs:3:9
14 |
15 LL | B = foo(),
16 | ^^^ cannot infer type of the type parameter `T` declared on the function `foo`
17 |
18 help: consider specifying the generic argument
19 |
20 LL | B = foo::<T>(),
21 | +++++
22
23 error: aborting due to 2 previous errors
24
25 For more information about this error, try `rustc --explain E0282`.