about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros
AgeCommit message (Expand)AuthorLines
2024-07-29Reformat `use` declarations.Nicholas Nethercote-129/+161
2024-07-28Rollup merge of #127853 - folkertdev:naked-function-error-messages, r=bjorn3Matthias Krüger-0/+23
2024-07-27Rollup merge of #128207 - folkertdev:asm-parser-generalize, r=AmanieuTrevor Gross-22/+58
2024-07-27switch to an allowlist approachFolkert-1/+1
2024-07-26refactor the `if if`Folkert-3/+7
2024-07-25improve error message when `global_asm!` uses `asm!` optionsFolkert-22/+54
2024-07-24Use Cow<'static, str> for InlineAsmTemplatePiece::StringGnomedDev-3/+3
2024-07-22Avoid passing state that will not be visitedOli Scherer-6/+6
2024-07-22Always pass the visitor as the first argument to walk* functionsOli Scherer-16/+27
2024-07-22Sync `mut_visit` function names with immut `visit` ones (s/noop_visit/walk/)Oli Scherer-17/+17
2024-07-22Add `Ident` to `FnKind::Fn`, just like with the immutable visitorOli Scherer-1/+1
2024-07-22Pass id and span to `visit_fn`, just like for the immutable visitorOli Scherer-4/+4
2024-07-22Make function items in mut visitors all go through the same visit_fn function...Oli Scherer-5/+5
2024-07-22Merge impl and trait item mut visitor methods to mirror immut visitorOli Scherer-19/+16
2024-07-21Auto merge of #127722 - BoxyUwU:new_adt_const_params_limitations, r=compiler-...bors-1/+39
2024-07-19Use `ForceCollect` in `parse_attr_item`.Nicholas Nethercote-7/+9
2024-07-17Split part of `adt_const_params` into `unsized_const_params`Boxy-1/+39
2024-07-17add error message when `#[naked]` is used with `#[test]`Folkert-0/+23
2024-07-07Rollup merge of #127308 - nnethercote:Attribute-cleanups, r=petrochenkovMatthias Krüger-1/+1
2024-07-07Rename some attribute types for consistency.Nicholas Nethercote-1/+1
2024-07-05Use `ControlFlow` results for visitors that are only looking for a single valueOli Scherer-1/+1
2024-07-04Rollup merge of #127283 - dingxiangfei2009:check-repr-transparent, r=davidtwcoMatthias Krüger-3/+36
2024-07-04Rollup merge of #126405 - He1pa:translate_builtin_macro_diag, r=davidtwcoMatthias Krüger-23/+76
2024-07-04reject SmartPointer constructions not serving the purposeDing Xiang Fei-3/+36
2024-07-02Simplify `CfgEval`.Nicholas Nethercote-10/+8
2024-06-27Tighten spans for async blocksMichael Goulet-1/+1
2024-06-25`sudo CI=green` && Review changes <3xFrednet-1/+1
2024-06-25RFC 2383: Stabilize `lint_reasons` :tada:xFrednet-1/+1
2024-06-25Migrate some rustc_builtin_macros to SessionDiagnostiche1pa-23/+76
2024-06-24SmartPointer derive-macroXiangfei Ding-0/+142
2024-06-20Convert some module-level `//` and `///` comments to `//!`.Nicholas Nethercote-2/+3
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-6/+8
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-5/+5
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-2/+4
2024-06-06Handle safe casecarbotaniuman-0/+1
2024-06-06Fix formattingcarbotaniuman-1/+1
2024-06-06Fix buildcarbotaniuman-4/+4
2024-06-06Disallow unsafe in derivecarbotaniuman-1/+21
2024-06-06Parse unsafe attributescarbotaniuman-1/+3
2024-06-06Rollup merge of #126096 - c410-f3r:tests-tests-tests, r=jhprattJubilee-1/+0
2024-06-06[RFC-2011] Allow `core_intrinsics` when activatedCaio-1/+0
2024-06-06Rollup merge of #125987 - estebank:issue-122622, r=NadrierilMatthias Krüger-1/+11
2024-06-05Make top-level `rustc_parse` functions fallible.Nicholas Nethercote-4/+5
2024-06-05Remove `stream_to_parser`.Nicholas Nethercote-1/+1
2024-06-04When `derive`ing, account for HRTB on `BareFn` fieldsEsteban Küber-1/+11
2024-05-23Rollup merge of #125316 - nnethercote:tweak-Spacing, r=petrochenkovMatthias Krüger-2/+2
2024-05-23Rollup merge of #125156 - zachs18:for_loops_over_fallibles_behind_refs, r=Nil...Matthias Krüger-2/+2
2024-05-23Convert some `token_joint_hidden` calls to `token_joint`.Nicholas Nethercote-2/+2
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-6/+6
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-13/+14