Skip to content

Conversation

@iDawer
Copy link
Contributor

@iDawer iDawer commented Sep 17, 2021

Fixes #10219 panic when entering : in $0 places:

fn main() {
    "⊞$0";
}
struct S {
    д$0 u8
}

With this patch, in these examples
```rust
fn main() {
    "⊞$0";
}
```

```rust
struct S {
д$0 u8
}
```
entering ':' character in `$0` places shouldn't cause panics.
@Veykril
Copy link
Member

Veykril commented Sep 17, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 17, 2021

@bors bors bot merged commit 5964750 into rust-lang:master Sep 17, 2021
@iDawer iDawer deleted the completion.suppress-at-column branch September 25, 2021 09:51
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.

byte index is not a char boundary in string literal with non-ascii char

2 participants