summary refs log tree commit diff
path: root/compiler/rustc_macros/src
AgeCommit message (Expand)AuthorLines
2025-03-15Move codec module back into middleMichael Goulet-18/+8
2025-03-15Use {Decodable,Encodable}_NoContext in type_irMichael Goulet-8/+8
2025-03-15Fold visit into tyMichael Goulet-6/+6
2025-03-15Squash fold into tyMichael Goulet-3/+3
2025-03-12Rollup merge of #138331 - nnethercote:use-RUSTC_LINT_FLAGS-more, r=onur-ozkan...Matthias Krüger-1/+0
2025-03-11Rollup merge of #138063 - compiler-errors:improve-attr-unpretty, r=jdonszelmannJakub Beránek-11/+16
2025-03-11Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-0/+1
2025-03-10Fix pretty printing of parsed attrs in hir_prettyMichael Goulet-8/+13
2025-03-10Rename print_something to should_renderMichael Goulet-5/+5
2025-03-08Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-02-24pretty print hir attributesJana Dönszelmann-0/+154
2025-02-22Fix binding mode problemsMichael Goulet-2/+2
2025-02-19Make fewer crates depend on rustc_ast_irMichael Goulet-3/+3
2025-02-08Rustfmtbjorn3-18/+24
2025-02-01Rename `ensure_forwards_result_if_red` to `return_result_from_ensure_ok`Zalathar-10/+16
2025-01-07Avoid naming variables `str`Josh Triplett-8/+8
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-10-27give a better error for tuple structs in `derive(Diagnostic)`jyn-3/+6
2024-10-27Use LLVM-C APIs for getting/setting visibilityZalathar-0/+2
2024-10-26Add a macro that derives `TryFrom<u32>` for fieldless enumsZalathar-0/+63
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-53/+44
2024-08-29Add `warn(unreachable_pub)` to `rustc_metadata`.Nicholas Nethercote-7/+21
2024-08-29Add `warn(unreachable_pub)` to `rustc_macros`.Nicholas Nethercote-16/+17
2024-08-26Remove a couple of unused feature enablesbjorn3-2/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-29/+34
2024-07-17lift_to_tcx -> lift_to_internerMichael Goulet-1/+1
2024-07-14Suppress some fallout from gen in synstructureMichael Goulet-0/+8
2024-07-10Make sure that labels are defined after the primary span in diagnosticsMichael Goulet-0/+9
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-1/+1
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-1/+1
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-2/+4
2024-06-06Make the panic info more usefulOli Scherer-2/+19
2024-06-03Nits and formattingMichael Goulet-3/+6
2024-05-27Auto merge of #125410 - fmease:adj-lint-diag-api, r=nnethercotebors-21/+13
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-20/+12
2024-05-23Slightly clean up some lint infra codeLeón Orell Valerian Liehr-1/+1
2024-05-22Rollup merge of #125391 - nnethercote:serialize-rs-tweaks, r=compiler-errorsLeón Orell Valerian Liehr-8/+8
2024-05-22Fix up whitespace in `compiler/rustc_macros/src/serialize.rs`.Nicholas Nethercote-8/+8
2024-05-21Fix subdiagnostic-only enum variants not generating codeXiretza-2/+2
2024-05-21Add note_once/help_once to diagnostic derivesXiretza-4/+30
2024-05-10Lift `Lift`Michael Goulet-1/+1
2024-04-21Allow nesting subdiagnosticsXiretza-12/+26
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-1/+1
2024-03-11Rename diagnostic derive things.Nicholas Nethercote-9/+9
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-1/+1
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-3/+3
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-6/+3
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-3/+10
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-1/+1