Replace (span.lo().0 - start_pos.0) everywhere
Open
enhancement
good first issue
- Dominant language
- Rust
- Stars
- 0
- Forks
- 1
- Avg merge
- 10d 6h
- Merged PRs (30d)
- 4
Description
Solar provides methods for this; those should be used instead. See the `impl_pos!` macro or the `SourceFile::relative_position` method.
Contributor guide
Research direction
Search the repository for `(span.lo().0 - start_pos.0)` and inspect the `impl_pos!` macro and `SourceFile::relative_position` method as the replacement references. Replace each occurrence with the applicable Solar-provided method, then verify that no instances remain and that the existing behavior is preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100