fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
618 B21 linesraw
1error[E0283]: type annotations needed: cannot resolve `_: A`
2  --> $DIR/issue-63496.rs:4:21
3   |
4LL |     const C: usize;
5   |     --------------- required by `A::C`
6LL | 
7LL |     fn f() -> ([u8; A::C], [u8; A::C]);
8   |                     ^^^^
9
10error[E0283]: type annotations needed: cannot resolve `_: A`
11  --> $DIR/issue-63496.rs:4:33
12   |
13LL |     const C: usize;
14   |     --------------- required by `A::C`
15LL | 
16LL |     fn f() -> ([u8; A::C], [u8; A::C]);
17   |                                 ^^^^
18
19error: aborting due to 2 previous errors
20
21For more information about this error, try `rustc --explain E0283`.