-
Notifications
You must be signed in to change notification settings - Fork 13.4k
compiler panic cat_expr_unadjusted Errd
(used to work)
#41498
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
note: going back to nightly-2017-04-01; everything work again. 'nightly-2017-04-17 is not ok. so troubles started somewhere in between. |
cat_expr_unadjusted Errd
(used to work)
not too sure what to do with this message. |
Minified: struct S;
impl S {
fn mutate(&mut self) {}
}
fn call_and_ref<T, F: FnOnce() -> T>(x: &mut Option<T>, f: F) -> &mut T {
*x = Some(f());
x.as_mut().unwrap()
}
fn main() {
let mut n = None;
call_and_ref(&mut n, || [S])[0].mutate();
} |
arielb1
pushed a commit
to arielb1/rust
that referenced
this issue
Apr 27, 2017
typeck: resolve type vars before calling `try_index_step` `try_index_step` does not resolve type variables by itself and would fail otherwise. Also harden the failure path in `confirm` to cause less confusing errors. r? @eddyb Fixes rust-lang#41498. beta-nominating because regression (caused by rust-lang#41279).
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 27, 2017
typeck: resolve type vars before calling `try_index_step` `try_index_step` does not resolve type variables by itself and would fail otherwise. Also harden the failure path in `confirm` to cause less confusing errors. r? @eddyb Fixes rust-lang#41498. beta-nominating because regression (caused by rust-lang#41279).
@wagnerf42 there is a pending fix (#41578), no action needed on your part |
triage: P-high |
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 27, 2017
typeck: resolve type vars before calling `try_index_step` `try_index_step` does not resolve type variables by itself and would fail otherwise. Also harden the failure path in `confirm` to cause less confusing errors. r? @eddyb Fixes rust-lang#41498. beta-nominating because regression (caused by rust-lang#41279).
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
hi, my code used to compile last week.
I updated the compiler today and now it crashes
note that you can get my code here (https://github.com/wagnerf42/Jimn/tree/master/rust/jimn)
The text was updated successfully, but these errors were encountered: