about summary refs log tree commit diff
path: root/compiler/rustc_macros
AgeCommit message (Expand)AuthorLines
2022-07-20clippy::perf fixesMatthias Krüger-4/+4
2022-07-15macros: support adding warnings to diagsDavid Wood-22/+48
2022-07-15macros: support `MultiSpan` in diag derivesDavid Wood-59/+88
2022-07-08Use dashes instead of underscores in fluent namesMichael Goulet-2/+6
2022-07-06Rollup merge of #98884 - davidtwco:translation-on-lints-derive, r=oli-obkDylan DPC-628/+812
2022-07-05Add #[derive(TypeVisitable)]Alan Egerton-13/+35
2022-07-05macros: add diagnostic derive for lintsDavid Wood-603/+787
2022-07-05macros: move `sess` out of builderDavid Wood-6/+4
2022-07-05macros: introduce `build_field_mapping`David Wood-20/+22
2022-07-05macros: fix documentation link for diag deriveDavid Wood-1/+1
2022-06-24macros: use typed identifiers in subdiag deriveDavid Wood-15/+75
2022-06-24macros: use typed identifiers in diag deriveDavid Wood-192/+320
2022-06-08Auto merge of #94732 - nnethercote:infallible-encoder, r=bjorn3bors-17/+9
2022-06-08Folding revamp.Nicholas Nethercote-2/+2
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-17/+9
2022-06-03Inline many methods of Encoderbjorn3-14/+8
2022-06-03Remove all names from Encoderbjorn3-22/+2
2022-05-30errors: simplify referring to fluent attributesDavid Wood-38/+20
2022-05-28Make TyCtxt implement Interner, make HashStable generic and move to rustc_typ...Michael Goulet-2/+2
2022-05-28Move things to rustc_type_irWilco Kusee-2/+2
2022-05-24macros: introduce `fluent_messages` macroDavid Wood-0/+319
2022-05-24macros: change code block languageDavid Wood-4/+4
2022-05-19formattingChristian Poveda-1/+2
2022-05-19let `generate_field_attrs_code` create `FieldInfo`Christian Poveda-46/+14
2022-05-18remove unnecessary genericsChristian Poveda-4/+4
2022-05-18move misplaced commentChristian Poveda-4/+4
2022-05-18generate `set_arg` code inside `generate_field_attrs_code`Christian Poveda-99/+101
2022-05-17generate code for `subdiagnostic` fields in the second `match`Christian Poveda-18/+56
2022-05-12errors: `set_arg` takes `IntoDiagnosticArg`David Wood-2/+2
2022-05-12macros: spanless subdiagnostics from `()` fieldsDavid Wood-33/+75
2022-05-06macros: allow `Vec` fields in diagnostic deriveDavid Wood-39/+85
2022-04-29macros: add interop between diagnostic derivesDavid Wood-1/+3
2022-04-29macros: allow setting applicability in attributeDavid Wood-51/+75
2022-04-29macros: add more documentation commentsDavid Wood-1/+13
2022-04-29macros: reuse `SetOnce` trait in diagnostic deriveDavid Wood-60/+11
2022-04-29macros: add helper functions for invalid attrsDavid Wood-229/+149
2022-04-29macros: split diagnostic derives into modulesDavid Wood-1593/+1631
2022-04-29macros: subdiagnostic deriveDavid Wood-132/+772
2022-04-25fix formattingChristian Poveda-3/+1
2022-04-25use `ParseSess` instead of `Session` in `into_diagnostic`Christian Poveda-2/+4
2022-04-21macros: update doc comment for diagnostic deriveDavid Wood-8/+18
2022-04-13couple of clippy::complexity fixesMatthias Krüger-1/+1
2022-04-05macros: support translatable suggestionsDavid Wood-66/+93
2022-04-05macros: note/help in `SessionDiagnostic` deriveDavid Wood-9/+45
2022-04-05macros: support translatable labelsDavid Wood-34/+75
2022-04-05macros: optional error codesDavid Wood-23/+19
2022-04-05macros: add `#[no_arg]` to skip `set_arg` callDavid Wood-1/+12
2022-04-05macros: rename `#[message]` to `#[primary_span]`David Wood-7/+4
2022-04-05macros: translatable struct attrs and warningsDavid Wood-116/+274
2022-04-05macros: update session diagnostic errorsDavid Wood-9/+9