about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/source_util.rs
AgeCommit message (Expand)AuthorLines
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-2/+2
2025-01-22Point at invalid utf-8 span on user's source codeEsteban Küber-5/+6
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+10
2024-06-25Migrate some rustc_builtin_macros to SessionDiagnostiche1pa-3/+8
2024-06-05Make top-level `rustc_parse` functions fallible.Nicholas Nethercote-2/+2
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-1/+1
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-2/+3
2024-04-26Adjust some `pub`s.Nicholas Nethercote-8/+8
2024-04-26Move some functions from `rustc_expand` to `rustc_builtin_macros`.Nicholas Nethercote-4/+4
2024-04-12Rollup merge of #123204 - notriddle:notriddle/include-str-span, r=pnkfelixMatthias Krüger-4/+6
2024-04-11remove some things that do not need to beMatthias Krüger-6/+4
2024-03-29rustdoc: point at span in `include_str!`-ed md fileMichael Howell-4/+6
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-1/+1
2024-03-27Suggest correct path in include_bytes!Kornel-31/+126
2024-03-13delay expand macro bang when there has indeterminate pathbohan-36/+44
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-2/+2
2024-02-25Remove `ast::` & `base::` prefixes from some builtin macrosLieselotte-22/+25
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-20/+23
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-3/+3
2024-01-10Shorten some error invocations.Nicholas Nethercote-1/+1
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-4/+4
2023-12-24Remove `Parser` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-3/+3
2023-12-10remove redundant importssurechen-2/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-10-17[RFC 3127 - Trim Paths]: Condition remapped filepath on remap scopesUrgau-3/+8
2023-08-27Load include_bytes! directly into an LrcBen Kimock-1/+1
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-1/+1
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-3/+3
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-1/+1
2022-11-11Introduce `ExprKind::IncludedBytes`clubby789-1/+4
2022-08-16Make `ExtCtxt::expr_lit` non-`pub`.Nicholas Nethercote-1/+1
2022-05-03Add support for a new attribute `#[debugger_visualizer]` to support embedding...ridwanabdillahi-43/+4
2022-04-09Auto merge of #95697 - klensy:no-strings, r=petrochenkovbors-3/+3
2022-04-08check_doc_keyword: don't alloc string for emptiness checkklensy-3/+3
2022-04-06Stop flagging certain inner attrs as outer onesLeón Orell Valerian Liehr-4/+7
2022-03-26Move resolve_path to rustc_builtin_macros and make it privateBadel2-4/+43
2022-02-19Adopt let else in more placesest31-9/+6
2021-07-17Compute a better `lint_node_id` during expansionAaron Hill-1/+1
2021-05-05Use local and remapped paths where appropriateAndy Wang-1/+3
2021-03-05expand: Some more consistent naming in module loadingVadim Petrochenkov-2/+2
2021-03-05expand: Move module file path stack from global session to expansion dataVadim Petrochenkov-4/+3
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-2/+3
2020-10-04Remove extra indirection in LitKind::ByteStrRobin Schoonover-3/+1
2020-08-30mv compiler to compiler/mark-0/+225