Skip to content
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

ui_test panics when Rust ICEs #2235

Closed
RalfJung opened this issue Jun 16, 2022 · 0 comments · Fixed by #2237
Closed

ui_test panics when Rust ICEs #2235

RalfJung opened this issue Jun 16, 2022 · 0 comments · Fixed by #2237

Comments

@RalfJung
Copy link
Member

This line here can panic:

let msg = Message { level: self.level.parse().unwrap(), message: self.message };

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "unknown level `error: internal compiler error`"', ui_test/src/rustc_stderr.rs:85:55

Obviously Rust should never ICE, but when it does, ui-test shouldn't panic either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant