about summary refs log tree commit diff
path: root/compiler/rustc_span/src/source_map.rs
AgeCommit message (Expand)AuthorLines
2025-08-25Do not open every source file twice when reading itJakub Beránek-2/+8
2025-08-16Only unpack span data once.Camille Gillot-7/+7
2025-07-28use let chains in mir, resolve, targetKivooeo-4/+4
2025-05-05Take into-account `-Zremap-path-scope` when embedding filenamesUrgau-36/+44
2025-04-10add `span_extend_to_prev_char_before()` to `SourceMap`Makai-0/+18
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-29/+29
2024-11-24Auto merge of #132791 - tyilo:big-file-fail-fast, r=compiler-errorsbors-1/+10
2024-11-23rustc: Fail fast when compiling a source file larger than 4 GiB - 1 BAsger Hautop Drewsen-1/+10
2024-11-08coverage: Restrict empty-span expansion to only cover `{` and `}`Zalathar-1/+1
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-6/+6
2024-10-01add unstable support for outputting file checksums for use in cargoJacob Kiesel-2/+14
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+5
2024-07-18Be more accurate about calculating `display_col` from a `BytePos`Esteban Küber-2/+0
2024-05-22Remove `#[macro_use]` extern crate tracing` from `rustc_span`.Nicholas Nethercote-0/+1
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-0/+1
2024-04-23Rollup merge of #123993 - compiler-errors:coroutine-obl, r=lcnrLeón Orell Valerian Liehr-1/+1
2024-04-16Construct `SourceMap` at the same time as `SessionGlobals`.Nicholas Nethercote-8/+18
2024-04-15redundant ::{self}Michael Goulet-1/+1
2024-04-12Rollup merge of #123204 - notriddle:notriddle/include-str-span, r=pnkfelixMatthias Krüger-3/+11
2024-04-09Add a helper for extending a span to include any trailing whitespaceMichael Goulet-6/+9
2024-03-29rustdoc: point at span in `include_str!`-ed md fileMichael Howell-3/+11
2024-03-28Introduce `FileNameMapping::to_real_filename` and use it everywhereUrgau-0/+15
2024-01-17Use UnhashMap for a few more mapsMark Rousskov-2/+2
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-1/+1
2024-01-06rustc_span: Optimize syntax context comparisonsVadim Petrochenkov-3/+9
2023-12-19Unify SourceFile::name_hash and StableSourceFileIdMichael Woerister-48/+7
2023-12-10remove redundant importssurechen-4/+2
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-43/+7
2023-10-17[RFC 3127 - Trim Paths]: Condition remapped filepath on remap scopesUrgau-8/+26
2023-09-12Fall back to an unoptimized implementation in read_binary_file if File::metad...Ben Kimock-2/+31
2023-09-07Use `Freeze` for `SourceFile.lines`John Kåre Alsaker-1/+1
2023-09-07Use `Freeze` for `SourceFile.external_src`John Kåre Alsaker-6/+6
2023-09-04Pass StableSourceFileId.Camille GILLOT-4/+4
2023-09-03Compute address space from previous file.Camille GILLOT-29/+9
2023-09-03Register the file while computing its start position.Camille GILLOT-38/+31
2023-09-03Use relative positions inside a SourceFile.Camille GILLOT-52/+20
2023-08-27Load include_bytes! directly into an LrcBen Kimock-4/+17
2023-08-06refactor on span_look_aheadyukang-9/+6
2023-06-29Use `partition_point` in `SourceMap::lookup_source_file_idx`.Nicholas Nethercote-5/+1
2023-06-10reword the message to suggest surrounding with parenthesesyukang-1/+4
2023-06-10take care module name for suggesting surround the struct literal in parenthesesyukang-0/+12
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-3/+3
2023-05-14Simplify find_width_of_character_at_span.Mara Bos-24/+7
2023-05-06correct literals for dyn thread safeSparrowLii-3/+5
2023-05-06introduce `DynSend` and `DynSync` auto traitSparrowLii-3/+3
2023-04-18Auto merge of #110083 - saethlin:encode-hashes-as-bytes, r=cjgillotbors-3/+3
2023-04-18Store hashes in special types so they aren't accidentally encoded as numbersBen Kimock-3/+3
2023-04-17Spelling - compilerJosh Soref-2/+2
2023-04-16fix clippy::toplevel_ref_arg and ::manual_mapMatthias Krüger-3/+1