mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
12 lines
487 B
Text
12 lines
487 B
Text
error: path separator must be a double colon
|
|
--> $DIR/single-colon-path-not-const-generics.rs:8:18
|
|
|
|
|
LL | pub struct Foo {
|
|
| --- while parsing this struct
|
|
LL | a: Vec<foo::bar:A>,
|
|
| ^ help: use a double colon instead: `::`
|
|
|
|
|
= 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>
|
|
|
|
error: aborting due to 1 previous error
|
|
|