You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the type of a node cannot be determined due to a previous type error, a `no type for node` ICE occurs. This commit makes it return `ty_err` instead in such a case.
Fixes#20401.
Fixes#20506.
Fixes#20614.
Fixes#20752.
Fixes#20829.
Fixes#20846.
Fixes#20885.
Fixes#20886.
Fixes#20952.
Fixes#20970.
While writing my own toy compiler, I deleted a field from a struct, and then ran the compiler hoping it would point out where I missed a use.
This made rustc crash:
Source is in https://github.com/CrystalGamma/oxide/blob/8c3e3ddb4dfb4facfda443e8a34d09b881e43d31/src/main.rs
Compiler version:
rustc 1.0.0-nightly (44a287e 2015-01-08 17:03:40 -0800)
binary: rustc
commit-hash: 44a287e
commit-date: 2015-01-08 17:03:40 -0800
host: x86_64-unknown-linux-gnu
release: 1.0.0-nightly
Hope I could help.
The text was updated successfully, but these errors were encountered: