Skip to content

Conversation

@bnjjj
Copy link
Contributor

@bnjjj bnjjj commented Nov 21, 2020

Partially resolve #6426

Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
@lnicola
Copy link
Member

lnicola commented Nov 27, 2020

Can you also add them to the docs?

@matklad
Copy link
Contributor

matklad commented Nov 28, 2020

Let's additionally check that the parent node here is block. That is, we don't want to suggest let for something like foo(92.<|>). Or rather, we should, but that should result in a more complex refactor which calls into "introduce variable".

Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
@bnjjj
Copy link
Contributor Author

bnjjj commented Nov 28, 2020

Thanks for your review, it's updated

@matklad
Copy link
Contributor

matklad commented Nov 29, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 29, 2020

@bors bors bot merged commit f8726d7 into rust-lang:master Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce postfixes to turn expressions into variables (like IntelliJ's .var).

3 participants