about summary refs log tree commit diff
path: root/compiler/rustc_span/src/source_map
AgeCommit message (Expand)AuthorLines
2025-05-05Take into-account `-Zremap-path-scope` when embedding filenamesUrgau-0/+73
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-1/+1
2024-10-07Avoid another `&Lrc<..>` in a return value.Nicholas Nethercote-1/+1
2024-10-01add unstable support for outputting file checksums for use in cargoJacob Kiesel-0/+2
2024-07-18Be more accurate about calculating `display_col` from a `BytePos`Esteban Küber-2/+0
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-1/+1
2024-02-18By tracking import use types to check whether it is scope uses or the other s...surechen-2/+0
2024-02-07Update testsr0cky-47/+2
2024-01-06rustc_span: Optimize syntax context comparisonsVadim Petrochenkov-1/+1
2023-12-19Unify SourceFile::name_hash and StableSourceFileIdMichael Woerister-2/+2
2023-12-10remove redundant importssurechen-2/+0
2023-10-17[RFC 3127 - Trim Paths]: Condition remapped filepath on remap scopesUrgau-16/+32
2023-09-20Add unit tests based on files that return odd sizes to statBen Kimock-0/+27
2023-09-07Use `Freeze` for `SourceFile.lines`John Kåre Alsaker-2/+2
2023-09-03Register the file while computing its start position.Camille GILLOT-1/+1
2023-09-03Use relative positions inside a SourceFile.Camille GILLOT-4/+3
2023-01-19Auto merge of #106810 - oli-obk:resolver_reverse_plumbing, r=petrochenkovbors-1/+1
2023-01-16Avoid an unnecessary allocationOli Scherer-1/+1
2023-01-14Heuristically undo path prefix mappings.Tim Neumann-0/+43
2022-10-25Fix #103451, find_width_of_character_at_span return width with 1 when reachin...yukang-5/+6
2022-10-19Add testcase for next_point, fix more trivial issues in find_width_of_charact...yukang-0/+45
2022-08-08Remove unused parameter.Camille GILLOT-1/+0
2022-08-06Encode index of SourceFile along with span.Camille GILLOT-0/+1
2022-05-18Add tests for FilePathMapping::to_embeddable_absolute_path().Michael Woerister-41/+128
2022-04-29Fix duplicate directory separator in --remap-path-prefix.Michael Woerister-0/+80
2021-05-11Split span_to_string into span_to_diagnostic/embeddable_stringAndy Wang-1/+1
2021-05-05Rename RealFileName::Named to LocalPath and Devirtualized to RemappedAndy Wang-2/+0
2021-03-17Move some test-only code to test filesJoshua Nelson-0/+44
2021-02-18Print -Ztime-passes (and misc stats/logs) on stderr, not stdout.Eduard-Mihai Burtescu-1/+1
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-1/+1
2020-08-30mv compiler to compiler/mark-0/+272