about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
2023-06-27Rollup merge of #113084 - WaffleLapkin:less_map_or, r=NilstriebMatthias Krüger-1/+1
2023-06-27Simplify some conditionsMaybe Waffle-1/+1
2023-06-21Fix msg passed to span_bugRaminder Singh-1/+1
2023-06-20Add `Span::{line, column}`Jacob Pratt-0/+10
2023-06-20`Span::{before, after}` → `Span::{start, end}`Jacob Pratt-2/+2
2023-06-20Remove `LineColumn`, `Span::start`, `Span::end`Jacob Pratt-12/+1
2023-06-16Add `SyntaxContext::is_root`Maybe Waffle-2/+2
2023-06-10expand: Change how `#![cfg(FALSE)]` behaves on crate rootVadim Petrochenkov-7/+21
2023-06-08Rollup merge of #112396 - WaffleLapkin:track_more_diagnostics, r=compiler-errorsGuillaume Gomez-0/+5
2023-06-07Track more diagnostics in `rustc_expand`Maybe Waffle-0/+5
2023-06-07Auto merge of #109005 - Nilstrieb:dont-forgor-too-much-from-cfg, r=petrochenkovbors-12/+61
2023-06-07feat(expand): emit note for doc comment in macro matcherbohan-11/+35
2023-06-06fix(expand): prevent infinity loop in macro containing only "///"bohan-0/+2
2023-06-01Remember names of `cfg`-ed out items to mention them in diagnosticsNilstrieb-12/+61
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-8/+8
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-5/+5
2023-05-19fix: emit error when fragment is `MethodReceiverExpr` and items is emptybohan-1/+5
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-13/+19
2023-05-06introduce `DynSend` and `DynSync` auto traitSparrowLii-6/+6
2023-05-05Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC-0/+6
2023-05-04Auto merge of #111014 - klensy:no-rc, r=WaffleLapkinbors-11/+12
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-17/+17
2023-05-02fix TODO commentsDeadbeef-2/+4
2023-05-02initial step towards implementing C string literalsDeadbeef-0/+4
2023-05-01Rip it outNilstrieb-8/+1
2023-04-30Lrc -> Rcklensy-11/+12
2023-04-25Fix static string lintsclubby789-4/+12
2023-04-21Auto merge of #109002 - michaelvanstraten:master, r=petrochenkovbors-1/+10
2023-04-19Fixed bad formatingMichael van Straten-4/+1
2023-04-19Translated absolute byte offset to relativeMichael van Straten-1/+9
2023-04-19Auto merge of #110407 - Nilstrieb:fluent-macro, r=davidtwcobors-1/+1
2023-04-18Add `rustc_fluent_macro` to decouple fluent from `rustc_macros`Nilstrieb-1/+1
2023-04-17Spelling - compilerJosh Soref-4/+4
2023-04-12compiler: print the suggestion only for local macrosLena Milizé-2/+5
2023-04-12compiler: improve captured metavariables diagnosticLena Milizé-1/+3
2023-04-09Fix some clippy::complexityNilstrieb-2/+2
2023-04-04Rename `ast::Static` to `ast::StaticItem` to match `ast::ConstItem`Oli Scherer-1/+1
2023-04-04box a bunch of large typesOli Scherer-2/+2
2023-04-04Split out ast::ItemKind::Const into its own structOli Scherer-2/+7
2023-04-04rust-analyzer guided tuple field to named fieldOli Scherer-2/+2
2023-04-04rust-analyzer guided enum variant structificationOli Scherer-1/+6
2023-03-31Auto merge of #109824 - GuillaumeGomez:rollup-i5r4uts, r=GuillaumeGomezbors-3/+7
2023-03-31Remove an unnecessary use of `with_session_globals`.Nicholas Nethercote-3/+7
2023-03-28Add `(..)` syntax for RTNMichael Goulet-1/+1
2023-03-23Separate find_*_stability.Camille GILLOT-1/+3
2023-03-23rustc_interface: Add a new query `pre_configure`Vadim Petrochenkov-30/+22
2023-03-23expand: Pass `ast::Crate` by reference to AST transforming passesVadim Petrochenkov-42/+35
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-6/+4
2023-03-17Suggest surrounding the macro with `{}` to interpret as a statementMu42-6/+18
2023-03-15unequal → not equalgimbles-1/+1