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 | fn f() -> ([u8; A::C], [u8; A::C]);
|
2019-12-30 23:15:40 -06:00
|
|
|
| ^^^^
|
|
|
|
| |
|
|
|
|
| cannot infer type
|
|
|
|
| help: use the fully qualified path to an implementation: `<Type as A>::C`
|
2019-10-29 19:28:39 -05:00
|
|
|
|
|
2020-04-04 21:47:50 -05:00
|
|
|
= note: cannot satisfy `_: A`
|
2019-12-30 23:15:40 -06:00
|
|
|
= note: associated constants cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl`
|
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 | fn f() -> ([u8; A::C], [u8; A::C]);
|
2019-12-30 23:15:40 -06:00
|
|
|
| ^^^^
|
|
|
|
| |
|
|
|
|
| cannot infer type
|
|
|
|
| help: use the fully qualified path to an implementation: `<Type as A>::C`
|
2019-10-29 19:28:39 -05:00
|
|
|
|
|
2020-04-04 21:47:50 -05:00
|
|
|
= note: cannot satisfy `_: A`
|
2019-12-30 23:15:40 -06:00
|
|
|
= note: associated constants cannot be accessed directly on a `trait`, they can only be accessed through a specific `impl`
|
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`.
|