-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Regression: missing MIR for generic async fn across crates #81000
Labels
A-async-await
Area: Async & Await
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
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
divergentdave
added
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Jan 14, 2021
dtolnay
added
the
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
label
Jan 14, 2021
rustbot
added
the
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
label
Jan 14, 2021
dtolnay
changed the title
ICE related to clippy and async/generators
Regression: missing MIR for generic async fn across crates
Jan 14, 2021
Minimal repro: # Cargo.toml
[package]
name = "repro"
version = "0.0.0"
edition = "2018" // src/main.rs
fn main() {}
pub async fn f() {
repro::g::<()>().await;
} // src/lib.rs
pub async fn g<T>() {}
|
dtolnay
added a commit
to dtolnay/rust-quiz
that referenced
this issue
Jan 14, 2021
Fixed by #81003. |
Thanks @tmiasko! |
tmandry
added
the
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
label
Jan 14, 2021
apiraino
removed
the
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
label
Jan 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-async-await
Area: Async & Await
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
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.
I'm getting an ICE when running a nightly version of clippy on https://github.com/smol-rs/smol. I bisected nightly toolchains, and the problem is present in +nightly-2021-01-14, and absent in +nightly-2021-01-13.
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: