about summary refs log tree commit diff
path: root/compiler/rustc_span/src/lib.rs
AgeCommit message (Expand)AuthorLines
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-11-23remove unused pub fnklensy-7/+0
2023-11-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-11-09Move `BorrowedBuf` and `BorrowedCursor` from `std:io` to `core::io`John Millikin-0/+1
2023-11-02Deinline all session global functions.Nicholas Nethercote-6/+0
2023-11-02Formatting tweaks.Nicholas Nethercote-9/+12
2023-11-02Minimize `pub` usage in `hygiene.rs`.Nicholas Nethercote-1/+1
2023-11-02Explain the `()` argument to `ErrorGuaranteed`.Nicholas Nethercote-0/+3
2023-10-23Auto merge of #116849 - oli-obk:error_shenanigans, r=cjgillotbors-1/+18
2023-10-21Rollup merge of #116312 - c410-f3r:try, r=Mark-SimulacrumMatthias Krüger-9/+12
2023-10-20Ensure we never accidentally serialize an `ErrorGuaranteed`Oli Scherer-1/+18
2023-10-19Initiate the inner usage of `cfg_match`Caio-9/+12
2023-10-17[RFC 3127 - Trim Paths]: Condition remapped filepath on remap scopesUrgau-1/+1
2023-10-08rustdoc: remove rust logo from non-Rust cratesMichael Howell-0/+2
2023-10-06Rollup merge of #116474 - nnethercote:rustc_assorted, r=spastorinoMatthias Krüger-6/+1
2023-10-06Remove unused `FileName::CfgSpec`.Nicholas Nethercote-6/+1
2023-10-05Allow file names to end with '>'Martin Nordholts-1/+0
2023-09-27fix clippy::{redundant_guards, useless_format}Matthias Krüger-2/+2
2023-09-25Rename `cold_path` to `outline`John Kåre Alsaker-2/+2
2023-09-09Auto merge of #115594 - nnethercote:span-tweaks, r=cjgillotbors-11/+1
2023-09-08Add Freeze::cloneJohn Kåre Alsaker-8/+2
2023-09-08Optimize `Span::is_dummy`.Nicholas Nethercote-11/+1
2023-09-07Use `Freeze` for `SourceFile.lines`John Kåre Alsaker-123/+140
2023-09-07Use `Freeze` for `SourceFile.external_src`John Kåre Alsaker-30/+34
2023-09-04Remove always-zero field.Camille GILLOT-21/+4
2023-09-04Update doc.Camille GILLOT-8/+6
2023-09-03Register the file while computing its start position.Camille GILLOT-5/+9
2023-09-03Use relative positions inside a SourceFile.Camille GILLOT-66/+98
2023-08-27Load include_bytes! directly into an LrcBen Kimock-0/+2
2023-08-23Bump cfg(bootstrap)Mark Rousskov-1/+1
2023-08-16Auto merge of #112500 - lukas-code:span-ctxt, r=petrochenkovbors-4/+33
2023-08-03Add `internal_features` lintNilstrieb-0/+1
2023-08-01introduce `Span::find_ancestor_inside_same_ctxt`Lukas Markeffsky-4/+33
2023-07-30Simplify `Span::can_be_used_for_suggestions` a little tiny bitMaybe Waffle-1/+1
2023-07-19Make it clearer that edition functions are >=, not ==Michael Goulet-6/+10
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-1/+2
2023-06-19Rollup merge of #112705 - WaffleLapkin:simplify_source_callee_impl, r=cjgillotMatthias Krüger-7/+10
2023-06-16Add `SyntaxContext::is_root`Maybe Waffle-7/+7
2023-06-16Simplify `Span::source_callee` implMaybe Waffle-7/+10
2023-05-25Remove ExpnKind::Inlined.Camille GILLOT-6/+0
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-16Move DebuggerVisualizerFile types from rustc_span to rustc_middleMichael Woerister-33/+0
2023-05-16Fix dependency tracking for debugger visualizersMichael Woerister-2/+12
2023-05-14Simplify find_width_of_character_at_span.Mara Bos-0/+1
2023-05-06Rollup merge of #110985 - Amanieu:normalize_asm_spans, r=b-naberMatthias Krüger-0/+22
2023-05-06Fix spans in LLVM-generated inline asm errorsAmanieu d'Antras-0/+22
2023-05-06Rollup merge of #111261 - compiler-errors:error-guaranteed-should-be-scarier-...Yuki Okushi-0/+1
2023-05-05Mark `ErrorGuaranteed` constructor as deprecated so people don't use itMichael Goulet-0/+1
2023-04-30Arc -> Lrcklensy-3/+2
2023-04-20Rollup merge of #110548 - kpreid:span, r=WaffleLapkinYuki Okushi-11/+20