This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
58e901b6fd
rust
/
tests
/
ui
/
pub
/
pub-ident-struct-2.rs
9 lines
106 B
Rust
Raw
Normal View
History
Unescape
Escape
Remove assumption from recovery code
2019-04-19 11:04:41 -07:00
// #60115
mod
foo
{
pub
bar
(
)
;
Fix condition for "missing `struct`" diagnostic on tuple structs The check previously matched this, and suggested adding a missing `struct`: pub Foo(...): It was probably intended to match this instead (semicolon instead of colon): pub Foo(...);
2022-10-06 18:35:53 +02:00
//~^ ERROR missing `struct` for struct definition
Remove assumption from recovery code
2019-04-19 11:04:41 -07:00
}
fn
main
(
)
{
}
Copy permalink