Uh oh!
There was an error while loading. Please reload this page.
missing semicolon at the end of struct declaration - #6252
Closed
frewsxcv wants to merge 1 commit into
Closed
Conversation
thestinger
commented
May 5, 2013
Contributor
Rust doesn't actually expect a semicolon after a struct/enum definition (unlike C). If you use one at the top-level, you'll get an error like this: Inside functions, redundant semicolons are allowed right now so either will work. However, I don't think they will always be allowed. |
frewsxcv
commented
May 5, 2013
ContributorAuthor
ah, i was originally going to wonder why the doctests passed, but i realized i was on my master branch instead of patch-1. sorry for the inconvenience |
thestinger
commented
May 5, 2013
Contributor
flip1995 pushed a commit
to flip1995/rust
that referenced
this pull request
Nov 3, 2020
flip1995 pushed a commit
to flip1995/rust
that referenced
this pull request
Nov 3, 2020
add a couple of ICE testcases Fixesrust-lang#6250Fixesrust-lang#6251Fixesrust-lang#6252Fixesrust-lang#6255Fixesrust-lang#6256 changelog: none
U007D pushed a commit
to U007D/rust-mos
that referenced
this pull request
Aug 21, 2026
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
U007D pushed a commit
to U007D/rust-mos
that referenced
this pull request
Aug 21, 2026
6256: Assist: replace string with char r=bnjjj a=bnjjj closerust-lang#6252 Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> Co-authored-by: Coenen Benjamin <benjamin.coenen@hotmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.