about summary refs log tree commit diff
path: root/compiler/rustc_span/src/source_map
AgeCommit message (Collapse)AuthorLines
2023-01-19Auto merge of #106810 - oli-obk:resolver_reverse_plumbing, r=petrochenkovbors-1/+1
Various cleanups around pre-TyCtxt queries and functions part of #105462 based on https://github.com/rust-lang/rust/pull/106776 (everything starting at [0e2b39f](https://github.com/rust-lang/rust/pull/106810/commits/0e2b39fd1ffde51b50d45ccbe41de52b85136b8b) is new in this PR) r? `@petrochenkov` I think this should be most of the uncontroversial part of #105462.
2023-01-16Avoid an unnecessary allocationOli Scherer-1/+1
2023-01-14Heuristically undo path prefix mappings.Tim Neumann-0/+43
Because the compiler produces better diagnostics if it can find the source of (potentially remapped) dependencies.
2022-10-25Fix #103451, find_width_of_character_at_span return width with 1 when ↵yukang-5/+6
reaching end
2022-10-19Add testcase for next_point, fix more trivial issues in ↵yukang-0/+45
find_width_of_character_at_span
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
This also relaxes the bounds on some structs and moves them to the impl block instead.
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