]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-const/issue-63496.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / associated-const / issue-63496.stderr
1 error[E0283]: type annotations needed
2 --> $DIR/issue-63496.rs:4:21
3 |
4 LL | const C: usize;
5 | --------------- required by `A::C`
6 LL |
7 LL | fn f() -> ([u8; A::C], [u8; A::C]);
8 | ^^^^ cannot infer type
9 |
10 = note: cannot resolve `_: A`
11
12 error[E0283]: type annotations needed
13 --> $DIR/issue-63496.rs:4:33
14 |
15 LL | const C: usize;
16 | --------------- required by `A::C`
17 LL |
18 LL | fn f() -> ([u8; A::C], [u8; A::C]);
19 | ^^^^ cannot infer type
20 |
21 = note: cannot resolve `_: A`
22
23 error: aborting due to 2 previous errors
24
25 For more information about this error, try `rustc --explain E0283`.