-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Internal Compiler Error running cargo doc #34222
Comments
I've been able to create two minimized examples: fn main() {
///
match (()) {
-_ =>
}
} And second: struct Square();
impl Square {
fn quadr() {
match (()) {
-_ =>
}
}
} |
@est31 The two minimized examples don't cause ICE in nightly, while OP's does. And the following ICE on both stable and nightly: fn a() {
/// crash
let q = 1;
} |
This code also crashes on both stable and nightly: fn main() {
///
} |
This looks like it might be fixed now (ordinary error instead of ICE)?
|
@steveklabnik What does your glacier say about this? |
@nodakai it's not currently being tracked in glacier, sounds like it should be! There's a ton of new ICEs that we haven't moved into glacier. |
This no longer ICEs today. E-needstest. |
Add tests for a few issues. Fixes rust-lang#41998 Fixes rust-lang#38381 Fixes rust-lang#37515 Fixes rust-lang#37510 Fixes rust-lang#37508 Fixes rust-lang#37366 Fixes rust-lang#37323 Fixes rust-lang#37051 Fixes rust-lang#36839 Fixes rust-lang#35570 Fixes rust-lang#34373 Fixes rust-lang#34222 Certainly not all of the E-needstest issues right now, but I started to get bored.
Hey, I'm trying to learn Rust. I have this code. It's not valid Rust, but it causes the compiler to throw an ICE.
I ran
cargo doc
on it, and was told to file a bug report. Runningcargo build
orrustc main.rs
does not cause the panic.Here's the
rustc
version. I pulled it down from the Arch repositories yesterday.The text was updated successfully, but these errors were encountered: