Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bytepos_to_file_charpos. #12613

Closed
wants to merge 1 commit into from
Closed

Fix bytepos_to_file_charpos. #12613

wants to merge 1 commit into from

Conversation

nrc
Copy link
Member

@nrc nrc commented Feb 28, 2014

Make bytepos_to_charpos relative to the start of the filemap rather than its previous behaviour which was to be realtive to the start of the codemap, but ignoring multi-byte chars in earlier filemaps. Rename to bytepos_to_file_charpos. Add tests for multi-byte chars.

Make bytepos_to_charpos relative to the start of the filemap rather than its previous behaviour which was to be realtive to the start of the codemap, but ignoring multi-byte chars in earlier filemaps. Rename to bytepos_to_file_charpos. Add tests for multi-byte chars.
@nrc
Copy link
Member Author

nrc commented Feb 28, 2014

Follows up fixes in #8706

@bors bors closed this in 53e90c1 Feb 28, 2014
@nrc nrc deleted the mbc branch March 1, 2014 05:24
bors pushed a commit to rust-lang-ci/rust that referenced this pull request Jan 21, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 21, 2024
…d, r=Veykril

Show which roots are being scanned in progress messages

This changes the `Roots Scanned` message to include the directory being scanned.

Before: `Roots Scanned 206/210 (98%)`
After: `Roots Scanned 206/210: .direnv (98%)`

This makes it a lot easier to tell that `rust-analyzer` isn't crashed, it's just trying to scan a huge directory.

See: rust-lang#12613
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 4, 2024
Pause review rotation for y21

Exams are coming up for me and I want to focus on that, so I'd like to pause PR assignments to me for a bit until that's over (will still continue to look at PRs that are assigned to me and might steal some PRs to review if I find the time). :)

--------------

changelog: none
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