Skip to content

Conversation

@Veykril
Copy link
Member

@Veykril Veykril commented Mar 21, 2021

Fixes having to type a character after ' to complete lifetimes and labels

@lnicola
Copy link
Member

lnicola commented Mar 21, 2021

Does this make typing char literals more annoying?

@Veykril
Copy link
Member Author

Veykril commented Mar 21, 2021

It shouldn't as we don't do any completions on them and we only show lifetime/label completion when they make sense. So lifetime completions are never relevant where a char literal can be typed, and for labels you could in theory want to break out with a char literal but even there it doesn't make anything more annoying as it doesn't change typing behaviour, it only shows possible labels.

@lnicola
Copy link
Member

lnicola commented Mar 21, 2021

Ah, okay. I thought it might make Code show an empty completion popup or something like that.

@Veykril
Copy link
Member Author

Veykril commented Mar 21, 2021

Nope, it doesn't.
bors r+

@Veykril
Copy link
Member Author

Veykril commented Mar 21, 2021

changelog skip

@bors
Copy link
Contributor

bors bot commented Mar 21, 2021

@bors bors bot merged commit 1ae20d2 into rust-lang:master Mar 21, 2021
@Veykril Veykril deleted the lt-compl branch March 21, 2021 16:05
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.

2 participants