diff options
| author | bors <bors@rust-lang.org> | 2022-11-26 17:55:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-26 17:55:00 +0000 |
| commit | 34e2bc6a541cca670307cec94cfc5546016705d6 (patch) | |
| tree | 83d4abfb49a1cb1b93a1934fb330a7d4d7baac5a /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | d2281f0367ba85c34ee9bce07d3cca40e1424721 (diff) | |
| parent | 1ca5cb7ed9928fad4222cb26727da41ff9ac148f (diff) | |
| download | rust-34e2bc6a541cca670307cec94cfc5546016705d6.tar.gz rust-34e2bc6a541cca670307cec94cfc5546016705d6.zip | |
Auto merge of #13611 - yue4u:fix/completion-after-colon, r=yue4u
fix: filter unnecessary completions after colon
close #13597
related: #10173
This PR also happens to fix two extra issues:
1. The test case in https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide-completion/src/tests/attribute.rs#L778-L801 was never triggered in previous behavior.
after:
https://user-images.githubusercontent.com/26110087/201476995-56adf955-0fa7-4f75-ab32-28a8e6cb9504.mp4
<del>
2. completions were triggered even in invalid paths, like
```rust
fn main() {
core:::::$0
}
```
```rust
#[:::::$0]
struct X;
```
</del>
only `:::` is excluded as discussed in https://github.com/rust-lang/rust-analyzer/pull/13611#discussion_r1031845205
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
