-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE On Simple Example #16750
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
Minimized: trait Contact { }
fn main() { Contact{name: 0,} }
|
And probably a dupe of #15812. |
wickerwaka
pushed a commit
to wickerwaka/rust
that referenced
this issue
Aug 30, 2014
matthiaskrgr
pushed a commit
to matthiaskrgr/rust
that referenced
this issue
Mar 10, 2024
minor: Mark remove_unnecessary_else as experimental cc rust-lang/rust-analyzer#16566 (comment) rust-lang/rust-analyzer#16628 There seem to be some leftover issues with this, additionally its a style lint so it's not too nice to see for some people. We should flesh out our diagnostics stuff before adding more style lints I think
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following simple definition of a data structure results in an ICE.
Replacing the main function with an empty one results in successful compilations (albeit with many unused-code warnings).
Information:
uname --all:
rustc -v:
rustc error message:
Offending Code:
Further information is available upon request.
The text was updated successfully, but these errors were encountered: