2022-11-16 20:46:06 +00:00
error: path separator must be a double colon
2022-03-11 22:26:19 +00:00
--> $DIR/single-colon-path-not-const-generics.rs:8:18
|
2022-11-16 20:46:06 +00:00
LL | pub struct Foo {
| --- while parsing this struct
2022-03-11 22:26:19 +00:00
LL | a: Vec<foo::bar:A>,
2024-07-06 03:07:46 +00:00
| ^
2022-11-16 20:46:06 +00:00
|
2023-04-28 01:55:38 +00:00
= note: if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 <https://github.com/rust-lang/rust/issues/101728>
2024-07-06 03:07:46 +00:00
help: use a double colon instead
|
LL | a: Vec<foo::bar::A>,
2024-07-11 22:03:08 +00:00
| +
2022-03-11 22:26:19 +00:00
2023-11-21 15:44:16 +00:00
error: aborting due to 1 previous error
2022-03-11 22:26:19 +00:00