summary refs log tree commit diff
path: root/compiler/rustc_span/src/source_map.rs
AgeCommit message (Expand)AuthorLines
2022-10-20fix rust-lang#101880: suggest let for assignment, and some code refactoryukang-0/+20
2022-10-19Add testcase for next_point, fix more trivial issues in find_width_of_charact...yukang-6/+13
2022-10-18Fix the bug of next_point in spanyukang-3/+4
2022-09-01tracing::instrument cleanupOli Scherer-5/+5
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-23Remove generate_fn_name_span and generate_local_type_param_snippet.Camille GILLOT-87/+0
2022-08-22Show absolute line numbers if span is outside relative spanNilstrieb-1/+1
2022-08-19Auto merge of #100209 - cjgillot:source-file-index, r=estebankbors-3/+2
2022-08-13fix span_extend_to_next_char docsGoldstein-1/+1
2022-08-08Remove unused parameter.Camille GILLOT-1/+0
2022-08-07Only encode position from start of file.Camille GILLOT-3/+1
2022-08-06Encode index of SourceFile along with span.Camille GILLOT-0/+2
2022-07-28Use line numbers relative to function in mir opt testsNilstrieb-0/+27
2022-07-25remove `is_local_span` as it is no longer usedTakayuki Maeda-11/+0
2022-07-20span: add `span_extend_to_line` helperDavid Wood-0/+5
2022-07-11rename a methodTakayuki Maeda-1/+1
2022-07-11implement `is_accessible_span`Takayuki Maeda-0/+7
2022-06-28fix ice for associated constant genericsTakayuki Maeda-1/+1
2022-06-02Address review comments.Nicholas Nethercote-2/+2
2022-06-01Lazify `SourceFile::lines`.Nicholas Nethercote-3/+10
2022-05-26Avoid adjusting file positions twice.Nicholas Nethercote-7/+14
2022-05-18Properly apply path prefix remapping paths emitted into debuginfo.Michael Woerister-0/+2
2022-05-18Move logic for making potentially remapped paths absolute into helper method.Michael Woerister-0/+79
2022-05-18Add debug tracing to FilePathMapping::map_prefixMichael Woerister-19/+34
2022-05-02fix most compiler/ doctestsElliot Roberts-4/+5
2022-04-29Fix duplicate directory separator in --remap-path-prefix.Michael Woerister-1/+13
2022-01-31Make `span_extend_to_prev_str()` more robustFabian Wolff-13/+27
2021-11-16Add SourceMap::indentation_before.Mara Bos-7/+12
2021-10-15Guess semicolon span for macro statementsCameron Steffen-0/+38
2021-09-20Add some more tracingOli Scherer-2/+3
2021-09-10Keep a parent LocalDefId in SpanData.Camille GILLOT-1/+1
2021-09-03Auto merge of #88363 - michaelwoerister:remapped-diagnostics, r=estebankbors-6/+17
2021-08-27Don't use `guess_head_span` in `predicates_of` for foreign spanAaron Hill-0/+11
2021-08-27Path remapping: Make behavior of diagnostics output dependent on presence of ...Michael Woerister-6/+17
2021-08-25Use if-let guards in the codebaseLéo Lanteri Thauvin-20/+15
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-07-01Avoid byte to char position conversions in is_multilineTomasz Miąsko-3/+7
2021-06-21Encode SourceFile source crate as StableCrateId in incr. comp. OnDiskCache.Michael Woerister-2/+2
2021-06-21Disambiguate between SourceFiles from different crates even if they have the ...Michael Woerister-10/+31
2021-06-09Print dummy spans as `no-location`Tomasz Miąsko-1/+1
2021-05-12Auto merge of #83813 - cbeuw:remap-std, r=michaelwoeristerbors-69/+43
2021-05-11Split span_to_string into span_to_diagnostic/embeddable_stringAndy Wang-2/+14
2021-05-07Use `path.exists()` instead of `fs::metadata(path).is_ok()`Chris Denton-1/+1
2021-05-05Use local and remapped paths where appropriateAndy Wang-6/+1
2021-05-05Make local_path in RealFileName::Remapped Option to be removed in exported me...Andy Wang-19/+16
2021-05-05Rename RealFileName::Named to LocalPath and Devirtualized to RemappedAndy Wang-61/+31
2021-03-17Move some test-only code to test filesJoshua Nelson-42/+0
2021-02-17Rollup merge of #81860 - osa1:issue81800, r=estebankDylan DPC-12/+30
2021-02-07Fix SourceMap::start_pointÖmer Sinan Ağacan-12/+30
2021-02-04faster spansklensy-8/+9