Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
parser
/
colon-in-tuple-struct.rs
blob: 2ed0d0fbc11a499701187ce955ce7d31e12df3e5 [
file
]
// Suggest the user to use double colon when there's a colon in tuple struct
struct
Foo
(
std
::
string
:
String
);
//~^ ERROR expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `:`
//~| HELP if you meant to write a path, use a double colon