about summary refs log tree commit diff
path: root/compiler/rustc_macros/src
AgeCommit message (Expand)AuthorLines
2022-09-09Make the `storage` query modifier less generalJoshua Nelson-12/+8
2022-09-06Get rid of the emitted `rustc_query_names` and `rustc_cached_queries` macroJoshua Nelson-22/+7
2022-09-06Support doc-comments in `define_dep_nodes`Joshua Nelson-2/+6
2022-09-06Further simplify the macros generated by `rustc_queries`Joshua Nelson-13/+9
2022-09-05UPDATE - into_diagnostic to take a Handler instead of a ParseSessJhonny Bill Mena-1/+1
2022-09-01Allow deriving multiple subdiagnostics using one SessionSubdiagnosticXiretza-96/+120
2022-09-01Revert parts of "use derive proc macro to impl SessionDiagnostic"Xiretza-249/+445
2022-08-31Rollup merge of #101165 - ldm0:drain_to_iter, r=cjgillotMatthias Krüger-1/+1
2022-08-31use derive proc macro to impl SessionDiagnosticYuanheng Li-445/+249
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-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