rust/src/test/ui/associated-const/issue-63496.stderr

26 lines
684 B
Plaintext
Raw Normal View History

2019-10-29 19:28:39 -05:00
error[E0283]: type annotations needed
2019-10-22 03:01:49 -05:00
--> $DIR/issue-63496.rs:4:21
|
LL | const C: usize;
| --------------- required by `A::C`
LL |
LL | fn f() -> ([u8; A::C], [u8; A::C]);
2019-10-29 19:28:39 -05:00
| ^^^^ cannot infer type
|
= note: cannot resolve `_: A`
2019-10-22 03:01:49 -05:00
2019-10-29 19:28:39 -05:00
error[E0283]: type annotations needed
2019-10-22 03:01:49 -05:00
--> $DIR/issue-63496.rs:4:33
|
LL | const C: usize;
| --------------- required by `A::C`
LL |
LL | fn f() -> ([u8; A::C], [u8; A::C]);
2019-10-29 19:28:39 -05:00
| ^^^^ cannot infer type
|
= note: cannot resolve `_: A`
2019-10-22 03:01:49 -05:00
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0283`.