This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-01 04:27:38 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
901b340c1f
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 18:04:41 +00: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 16:35:53 +00:00
//~^ ERROR missing `struct` for struct definition
Remove assumption from recovery code
2019-04-19 18:04:41 +00:00
}
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink