-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
futures-rs tests ICE on nightly #43853
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
sfackler
added
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Aug 13, 2017
Oh well. Looks like someone is passing DUMMY_NODE_ID to select, and it's trying to report a future-compatibility error. Shouldn't be a hard fix. |
Bisection points at #43522, I'll take a look |
Minimal example: // Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::panic;
fn test() {
wait(|| panic!());
}
fn wait<T, F: FnOnce() -> T>(f: F) -> F::Output {
From::from(f())
}
fn main() {
let result = panic::catch_unwind(move || test());
assert!(result.is_err());
} |
arielb1
added a commit
to arielb1/rust
that referenced
this issue
Aug 14, 2017
The defaulted unit bit is only relevant for the surrounding inference context, and can cause trouble, including spurious lints and ICEs, outside of it. Fixes rust-lang#43853.
carols10cents
added
C-bug
Category: This is a bug.
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
labels
Aug 14, 2017
arielb1
removed
the
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
label
Aug 14, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Seems to be a different ICE than what's on beta (#43852).
The text was updated successfully, but these errors were encountered: