Skip to content

fix: no complete module colons before exists colons#22386

Merged
ChayimFriedman2 merged 1 commit into
rust-lang:masterfrom
A4-Tacks:no-colon-before-colon
May 17, 2026
Merged

fix: no complete module colons before exists colons#22386
ChayimFriedman2 merged 1 commit into
rust-lang:masterfrom
A4-Tacks:no-colon-before-colon

Conversation

@A4-Tacks
Copy link
Copy Markdown
Member

@A4-Tacks A4-Tacks commented May 17, 2026

Partial of #22259
Related #22259 (comment)

Example

mod module {}
fn foo() { $0::bar }

Before this PR

mod module {}
fn foo() { module::::bar }

After this PR

mod module {}
fn foo() { module::bar }

Example
---
```rust
mod module {}
fn foo() { $0::bar }
```

**Before this PR**

```rust
mod module {}
fn foo() { module::::bar }
```

**After this PR**

```rust
mod module {}
fn foo() { module::bar }
```
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 17, 2026
@ChayimFriedman2 ChayimFriedman2 enabled auto-merge May 17, 2026 06:01
@ChayimFriedman2 ChayimFriedman2 added this pull request to the merge queue May 17, 2026
Merged via the queue into rust-lang:master with commit 7a4f9e8 May 17, 2026
18 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 17, 2026
@A4-Tacks A4-Tacks deleted the no-colon-before-colon branch May 17, 2026 06:19
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.

3 participants