diff options
Diffstat (limited to 'tests/ui/generics/single-colon-path-not-const-generics.stderr')
| -rw-r--r-- | tests/ui/generics/single-colon-path-not-const-generics.stderr | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/ui/generics/single-colon-path-not-const-generics.stderr b/tests/ui/generics/single-colon-path-not-const-generics.stderr index d61562bb199..06203b5e6fe 100644 --- a/tests/ui/generics/single-colon-path-not-const-generics.stderr +++ b/tests/ui/generics/single-colon-path-not-const-generics.stderr @@ -4,9 +4,13 @@ error: path separator must be a double colon 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> +help: use a double colon instead + | +LL | a: Vec<foo::bar::A>, + | ~~ error: aborting due to 1 previous error |
