about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/tests.rs
AgeCommit message (Expand)AuthorLines
2024-05-06Move some tests from `rustc_expand` to `rustc_parse`.Nicholas Nethercote-1055/+0
2024-03-18When displaying multispans, ignore empty lines adjacent to `...`Esteban Küber-2/+1
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-13/+13
2024-03-04Move `sess` function and use it more.Nicholas Nethercote-4/+6
2024-03-04Remove `file_path_mapping` param from `ParseSess::new`.Nicholas Nethercote-8/+4
2024-02-29Rename `DiagCtxt::with_emitter` as `DiagCtxt::new`.Nicholas Nethercote-1/+1
2024-01-05Rename `EmitterWriter` as `HumanEmitter`.Nicholas Nethercote-2/+2
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-2/+2
2023-12-18Rename `ParseSess::with_span_handler` as `ParseSess::with_dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-3/+3
2023-11-24Replace `option.map(cond) == Some(true)` with `option.is_some_and(cond)`David Tolnay-1/+1
2023-11-02Replace two `create_default_session_if_not_set_then` uses.Nicholas Nethercote-2/+2
2023-07-31Remove a `bool` for color in favor of the `WriteColor` trait wrapping colored...Oli Scherer-4/+18
2023-07-31Use builder pattern instead of lots of arguments for `EmitterWriter::new`Oli Scherer-14/+5
2023-07-26Squelch a noisy rustc_expand unittestEric Huss-21/+48
2023-07-25Use a builder instead of boolean/option argumentsOli Scherer-1/+1
2023-07-19On nightly, dump ICE backtraces to diskEsteban Küber-1/+1
2023-04-17Spelling - compilerJosh Soref-2/+2
2023-02-28no need to return unmatched_delims from tokentreesyukang-1/+0
2023-02-22various: translation resources from cg backendDavid Wood-6/+12
2023-02-22errors: generate typed identifiers in each crateDavid Wood-4/+6
2023-02-09Introduce `-Zterminal-urls` to use OSC8 for error codesEsteban Küber-1/+2
2022-12-10Migrate parts of `rustc_expand` to session diagnosticsnils-0/+1
2022-11-28Change multiline span ASCII art visual orderEsteban Küber-54/+54
2022-10-19Implement -Ztrack-diagnosticsmejrs-0/+1
2022-06-29avoid many `&str` to `String` conversions with `MultiSpan::push_span_label`Takayuki Maeda-1/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-5/+5
2022-04-13errors: lazily load fallback fluent bundleDavid Wood-2/+2
2022-04-05session: opt for enabling directionality markersDavid Wood-2/+2
2022-04-05errors: implement sysroot/testing bundle loadingDavid Wood-1/+3
2022-04-05errors: implement fallback diagnostic translationDavid Wood-0/+2
2022-04-05span: move `MultiSpan`David Wood-2/+2
2021-07-08Rework SESSION_GLOBALS API to prevent overwriting itGuillaume Gomez-2/+2
2021-01-03remove redundant closures (clippy::redundant_closure)Matthias Krüger-1/+1
2020-08-30mv compiler to compiler/mark-0/+1012