Skip to content

Change spans for sugary call expressions - #7593

Closed
sanxiyn wants to merge 1 commit into
rust-lang:masterfrom
sanxiyn:sugar-span
Closed

sanxiyn wants to merge 1 commit into
rust-lang:masterfrom
sanxiyn:sugar-span

Conversation

@sanxiyn

@sanxiyn sanxiyn commented Jul 5, 2013

Copy link
Copy Markdown
Contributor

No description provided.

@sanxiyn

sanxiyn commented Jul 5, 2013

Copy link
Copy Markdown
Contributor Author

Before:

do obj.unknown {}
                ^

After:

do obj.unknown {}
^~~~~~~~~~~~~~~~~

This is especially important when block is multi-line. Current behavior highlights the closing bracket and does not show even what method is unknown.

@sanxiyn

sanxiyn commented Jul 5, 2013

Copy link
Copy Markdown
Contributor Author

Landing in #7598.

@sanxiyn sanxiyn closed this Jul 5, 2013
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
7593: fix: add for keyword in completion rust-lang#7588 r=lnicola a=gowrizrh

Fixes rust-lang#7588
bors r+

Co-authored-by: Gowri <[email protected]>
Co-authored-by: Gowri <[email protected]>
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