-
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
rust compiler bug report #16058
Comments
@GuillaumeGomez can you please update the issue with output of |
I get this (with an empty main):
@GuillaumeGomez, it seems like you accidentally put In any case, it seems like we're ICE here even though we've already outputted the right error. |
@errordeveloper : Yes of course, here it is but I'm not sure I didn't updated meanwhile : rustc --version
rustc 0.12.0-pre-nightly (79e9f14ab 2014-07-27 20:51:16 +0000) @luqmana : At first, I did create a Result struct in a Gsl module but then I removed the Gsl module and change my Result struct To GslResult struct and forgot to modify all the code. So don't worry, I corrected it right after the compiler 'error'. |
@GuillaumeGomez well, does it still crash with given 79e9f14 build? |
When I update my rust compiler, it gives me this version : > rustc --version
rustc 0.12.0-pre-nightly (7a25cf3f3 2014-07-30 17:06:18 +0000) And it still crashes. But you can check very easily if it works or not with a code like that : pub struct Whatever {
pub whatever: int,
}
impl Whatever {
pub fn new() -> Whatever {
Result {
val: 0,
}
}
} |
Closed by #16133 |
fix: Smaller spans for unresolved field and method diagnostics
Hey, here is the error :
Here is my code :
Good luck to fix this.
The text was updated successfully, but these errors were encountered: