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

Fix freeze with rustfmt on 2019.2 & some rustfmt cleanup #4151

Merged
merged 4 commits into from Jul 17, 2019

Conversation

vlad20012
Copy link
Member

Really #4142 is a platform bug and I just fixed it in the platform, but I don't know when it will be upstreamed. This PR is a hotfix.

Fixes #4142

Particularly,
`cargo install --list` and
`rustup component list`.

Usually they works less then 100ms. By 1000ms timeout we
guarantee that UI will not froze if something goes wrong.
This progress window is mostly useless with run-rustfmt-on-save b/c
during document save we invoking rustfmt in the write action
where progress window can't be shown.
@mchernyavsky mchernyavsky added the fix Pull requests that fix some bug(s) label Jul 16, 2019
@mchernyavsky mchernyavsky added this to the v102 milestone Jul 16, 2019
Copy link
Member

@mchernyavsky mchernyavsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

bors bot added a commit that referenced this pull request Jul 17, 2019
4078: INSP: support `pub extern crate` reexports r=vlad20012 a=Undin

Fixes #3396

4136: T: Extract performance and real project tests to rustPerformanceTests r=Undin a=ortem



4148: ANN: Fix E0618: Type implementing a Fn trait is a function too r=mchernyavsky a=mibac138

Fixes #4143

4151: Fix freeze with rustfmt on 2019.2 & some rustfmt cleanup r=mchernyavsky a=vlad20012

Really #4142 is a [platform bug](https://youtrack.jetbrains.com/issue/IDEA-218430) and I just fixed it in the platform, but I don't know when it will be upstreamed. This PR is a hotfix.

Fixes #4142



Co-authored-by: Arseniy Pendryak <a.pendryak@yandex.ru>
Co-authored-by: ortem <ortem00@gmail.com>
Co-authored-by: mibac138 <5672750+mibac138@users.noreply.github.com>
Co-authored-by: vlad20012 <beskvlad@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jul 17, 2019

Canceled (will resume)

bors bot added a commit that referenced this pull request Jul 17, 2019
4078: INSP: support `pub extern crate` reexports r=vlad20012 a=Undin

Fixes #3396

4148: ANN: Fix E0618: Type implementing a Fn trait is a function too r=mchernyavsky a=mibac138

Fixes #4143

4151: Fix freeze with rustfmt on 2019.2 & some rustfmt cleanup r=mchernyavsky a=vlad20012

Really #4142 is a [platform bug](https://youtrack.jetbrains.com/issue/IDEA-218430) and I just fixed it in the platform, but I don't know when it will be upstreamed. This PR is a hotfix.

Fixes #4142



Co-authored-by: Arseniy Pendryak <a.pendryak@yandex.ru>
Co-authored-by: mibac138 <5672750+mibac138@users.noreply.github.com>
Co-authored-by: vlad20012 <beskvlad@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jul 17, 2019

Build failed (retrying...)

bors bot added a commit that referenced this pull request Jul 17, 2019
4148: ANN: Fix E0618: Type implementing a Fn trait is a function too r=mchernyavsky a=mibac138

Fixes #4143

4151: Fix freeze with rustfmt on 2019.2 & some rustfmt cleanup r=mchernyavsky a=vlad20012

Really #4142 is a [platform bug](https://youtrack.jetbrains.com/issue/IDEA-218430) and I just fixed it in the platform, but I don't know when it will be upstreamed. This PR is a hotfix.

Fixes #4142



Co-authored-by: mibac138 <5672750+mibac138@users.noreply.github.com>
Co-authored-by: vlad20012 <beskvlad@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jul 17, 2019

Build failed (retrying...)

bors bot added a commit that referenced this pull request Jul 17, 2019
4151: Fix freeze with rustfmt on 2019.2 & some rustfmt cleanup r=mchernyavsky a=vlad20012

Really #4142 is a [platform bug](https://youtrack.jetbrains.com/issue/IDEA-218430) and I just fixed it in the platform, but I don't know when it will be upstreamed. This PR is a hotfix.

Fixes #4142



Co-authored-by: vlad20012 <beskvlad@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jul 17, 2019

@bors bors bot merged commit 58aafdf into intellij-rust:master Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull requests that fix some bug(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intellij freezes when using "Implement methods" on a trait in Intellij 2019.2 EAP/Beta2
2 participants