-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Huge compilation time for small snippet using async and explicit lifetimes #72051
Labels
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
I-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
rustbot
added
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
I-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
May 9, 2020
jonas-schievink
added
the
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
label
May 9, 2020
somewhat minimized: pub async fn query<'a>(_: &(), _: &(), params: (&(dyn std::any::Any + 'a),) ) {}
fn main() {} To replicate this I needed:
|
dtolnay
added
the
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
label
May 9, 2020
@lcnr's repro is a regression in 1.43. It compiles immediately with 1.39 through 1.42. |
dtolnay
added
the
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
label
May 9, 2020
wesleywiser
added
P-high
High priority
and removed
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
labels
May 9, 2020
I am currently bisecting this using //- main.rs
pub async fn query<'a>(_: &(), _: &(), params: (&(dyn std::any::Any + 'a),) ) {}
fn main() {} #- test.sh
timeout 1 rustc main.rs --edition 2018 $ cargo bisect-rustc --script ./test.sh --access github |
rustbot
removed
the
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
label
May 10, 2020
FYI @nikomatsakis, @Centril, @matthewjasper who had context on #65232. |
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this issue
May 13, 2020
…matsakis Fix hang in lexical_region_resolve Regionck was stuck in a loop where a region value was changing between two equal regions. Closes rust-lang#72051
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
I-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
(Playground)
Errors:
Backtrace:
@rustbot modify labels: +I-hang +T-compiler +C-bug +A-lifetimes
The text was updated successfully, but these errors were encountered: