summary refs log tree commit diff
path: root/compiler/rustc_macros/src
AgeCommit message (Expand)AuthorLines
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
2022-04-05macros: add args for non-subdiagnostic fieldsDavid Wood-24/+54
2022-04-05macros: move suggestion type handling to fnDavid Wood-68/+61
2022-04-05macros: update commentsDavid Wood-27/+34
2022-03-08add `#[rustc_pass_by_value]` to more typeslcnr-0/+1
2022-03-03Make `Ord`, `PartialOrd` opt-out in `newtype_index`pierwill-24/+46
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-1/+1
2022-03-01Rollup merge of #93926 - PatchMixolydic:bugfix/must_use-on-exprs, r=cjgillotDylan DPC-1/+0
2022-02-27Lint against more useless `#[must_use]` attributesRuby Lazuli-1/+0
2022-02-25Auto merge of #93878 - Aaron1011:newtype-macro, r=cjgillotbors-0/+333
2022-02-24Address review commentsAaron Hill-24/+10
2022-02-24Convert `newtype_index` to a proc macroAaron Hill-0/+347
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-1/+1
2022-02-20Delete Decoder::read_enum_variantMark Rousskov-8/+4
2022-02-20Delete Decoder::read_struct_fieldMark Rousskov-19/+6
2022-02-20Delete Decoder::read_structMark Rousskov-9/+1
2022-02-20Delete read_enum_variant_argMark Rousskov-11/+12
2022-02-20Delete read_enum_variant namesMark Rousskov-8/+0
2022-02-20Delete Decoder::read_enumMark Rousskov-13/+8
2022-02-16Move ty::print methods to Drop-based scope guardsMark Rousskov-1/+3
2022-01-22Make `Decodable` and `Decoder` infallible.Nicholas Nethercote-13/+5
2022-01-03Rollup merge of #92011 - Aaron1011:decode-span, r=michaelwoeristerMatthias Krüger-11/+15
2021-12-16Use field span in `rustc_macros` when emitting decode callAaron Hill-11/+15
2021-12-15Remove `in_band_lifetimes` from `rustc_middle`Aaron Hill-0/+5
2021-12-12Query modifierDeadbeef-0/+20
2021-12-02Rename TypeFolderFallible to FallibleTypeFolderAlan Egerton-1/+1
2021-12-02Reduce boilerplate around infallible foldersAlan Egerton-2/+2
2021-11-26Make `TypeFoldable` implementors short-circuit on errorLeSeulArtichaut-3/+3
2021-11-22Avoid generating empty closures for fieldless enumsMark Rousskov-7/+18