-
Notifications
You must be signed in to change notification settings - Fork 13.3k
error: internal compiler error: node_id_to_type: no type for node expr A::C (id=61)
#13407
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
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Comments
Reduced test case (with help from creduce): mod A {
struct C;
}
fn main() {
A::C = 1;
} |
Neither example currently causes an ICE: Reduced:
Original (adjusting ~ to Box):
Version info:
|
bors
pushed a commit
to rust-lang-ci/rust
that referenced
this issue
Sep 24, 2024
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Sep 24, 2024
Fix `if_then_some_else_none` sugg missing closure intro Fixes rust-lang#13407 rust-lang#13407 works in current stable. The suggestion-generating code got trampled over in 0532104 :-) changelog: [`if_then_some_else_none`]: Fix missing closure in suggestion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Host OS: Linux Mint 15 x86_64
rustc version: rustc 0.10-pre (6f1c06d 2014-04-03 03:42:02 -0700)
Test case:
The text was updated successfully, but these errors were encountered: