about summary refs log tree commit diff
path: root/compiler/rustc_macros
AgeCommit message (Expand)AuthorLines
2022-08-30Rework SessionSubdiagnostic derive to support multipart_suggestionXiretza-219/+394
2022-08-30SessionSubdiagnostic: make `#[applicability]` optionalXiretza-8/+4
2022-08-30Use span_suggestion_with_style in SessionSubdiagnostic deriveXiretza-39/+65
2022-08-30Use more `into_iter` rather than `drain(..)`Donough Liu-1/+1
2022-08-29Rollup merge of #100959 - LuisCardosoOliveira:translation-rename-attr-warning...Matthias Krüger-19/+22
2022-08-27Auto merge of #100946 - jyn514:query-system-3, r=cjgillotbors-11/+11
2022-08-25Auto merge of #100748 - SparrowLii:query_depth, r=cjgillotbors-1/+12
2022-08-25Auto merge of #100436 - jyn514:macro-query-system, r=cjgillotbors-3/+1
2022-08-24translations: rename warn_ to warningLuis Cardoso-19/+22
2022-08-24Auto merge of #100803 - klensy:do-not-encode-preinterned-symbols, r=bjorn3bors-1/+1
2022-08-24Remove the `$tcx:tt` parameter from `rustc_query_description`Joshua Nelson-5/+5
2022-08-24Simplify the syntax for macros generated by `rustc_queries`Joshua Nelson-6/+6
2022-08-23Remove `$tcx` metavariable from `rustc_query_append`Joshua Nelson-3/+1
2022-08-24add `depth_limit` in `QueryVTable`SparrowLii-1/+12
2022-08-23Auto merge of #100675 - Xiretza:fluent-mandate-crate-prefix, r=davidtwcobors-9/+21
2022-08-23Rollup merge of #100857 - camsteffen:query-parse-refactor, r=davidtwcoDylan DPC-260/+125
2022-08-22fluent: point to path containing error instead of module nameXiretza-5/+5
2022-08-22fluent: mandate slug names to be prefixed by crate nameXiretza-5/+17
2022-08-21Refactor query modifier parsingCameron Steffen-260/+125
2022-08-22Fix `build_format` not unescaping braces properlyfinalchild-27/+32
2022-08-21Replace #[lint/warning/error] with #[diag]Xiretza-23/+6
2022-08-21Disallow #[primary_span] on LintDiagnosticsXiretza-4/+13
2022-08-21Make derived SessionDiagnostics generic on diagnostic levelXiretza-105/+60
2022-08-20symbols: add `is_preinterned` fn to check if symbol was preinterned in compilerklensy-1/+1
2022-08-18Add diagnostic translation lints to crates that don't emit them5225225-0/+2
2022-08-12Change fluent_messages macro to expect _ slugs instead of - slugsest31-5/+27
2022-08-12Update rustdoc to new slug styleest31-13/+13
2022-08-02dedupe 'annotate-snippets' crate versionsklensy-1/+1
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