about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
2023-11-26Use `rustc_fluent_macro::fluent_messages!` directly.Nicholas Nethercote-3/+1
2023-11-26Avoid need for `{D,Subd}iagnosticMessage` imports.Nicholas Nethercote-1/+0
2023-11-25Rollup merge of #118253 - dtolnay:issomeand, r=compiler-errorsLeón Orell Valerian Liehr-1/+1
2023-11-24Replace `option.map(cond) == Some(true)` with `option.is_some_and(cond)`David Tolnay-1/+1
2023-11-24Add `Span` to `TraitBoundModifier`Deadbeef-2/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-37/+35
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-7/+18
2023-11-15Re-format code with new rustfmtMark Rousskov-4/+4
2023-11-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-11-02Replace two `create_default_session_if_not_set_then` uses.Nicholas Nethercote-2/+2
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-1/+1
2023-10-26Auto merge of #116818 - Nilstrieb:stop-submitting-bug-reports, r=wesleywiserbors-1/+10
2023-10-25Stop telling people to submit bugs for internal feature ICEsNilstrieb-1/+10
2023-10-21Mention the syntax for `use` on `mod foo;` if `foo` doesn't existEsteban Küber-0/+1
2023-10-16docs: add Rust logo to more compiler cratesMichael Howell-0/+2
2023-10-16Rename `ACTIVE_FEATURES` as `UNSTABLE_FEATURES`.Nicholas Nethercote-3/+3
2023-10-16Remove `rustc_feature::State`.Nicholas Nethercote-29/+19
2023-10-13Format all the let chains in compilerMichael Goulet-33/+38
2023-10-05Add two setter functions to `Features`.Nicholas Nethercote-11/+6
2023-10-05Record all declared features.Nicholas Nethercote-0/+4
2023-10-05Rename `Features::active_features`.Nicholas Nethercote-3/+3
2023-10-05Overhaul `config::features`.Nicholas Nethercote-57/+46
2023-10-05Merge `STABLE_REMOVED_FEATURES` list into `REMOVED_FEATURES`.Nicholas Nethercote-9/+3
2023-10-05Inline and remove `feature_removed` function.Nicholas Nethercote-8/+4
2023-10-05Factor out some repeated feature-getting code.Nicholas Nethercote-18/+11
2023-10-05Add comments to `config::features`.Nicholas Nethercote-5/+30
2023-10-05Remove unused `Span` from the `set` function in `State::Active`.Nicholas Nethercote-4/+4
2023-09-07Enable incremental-relative-spans by default.Camille GILLOT-1/+1
2023-08-23Bump cfg(bootstrap)Mark Rousskov-1/+1
2023-08-18Auto merge of #114915 - nnethercote:Nonterminal-cleanups, r=petrochenkovbors-8/+7
2023-08-18Rename `NtOrTt` as `ParseNtResult`.Nicholas Nethercote-3/+3
2023-08-17[RFC-3086] Restrict the parsing of `count`Caio-1/+11
2023-08-17Remove unnecessary braces on `PatWithOr` patterns.Nicholas Nethercote-1/+1
2023-08-17Remove some unnecessary (and badly named) local variables.Nicholas Nethercote-4/+3
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-15/+18
2023-08-04Auto merge of #114104 - oli-obk:syn2, r=compiler-errorsbors-14/+19
2023-08-03Add `internal_features` lintNilstrieb-0/+1
2023-08-03Remove `MacDelimiter`.Nicholas Nethercote-1/+2
2023-08-01Auto merge of #114273 - nnethercote:move-doc-comment-desugaring, r=petrochenkovbors-12/+16
2023-07-31Remove a `bool` for color in favor of the `WriteColor` trait wrapping colored...Oli Scherer-4/+18
2023-07-31Use builder pattern instead of lots of arguments for `EmitterWriter::new`Oli Scherer-14/+5
2023-07-31Remove `desugar_doc_comments` arg from `Parser::new()`.Nicholas Nethercote-4/+9
2023-07-31No need to desugar doc comments when parsing decl macro definitions.Nicholas Nethercote-1/+1
2023-07-31Reflow an overlong comment.Nicholas Nethercote-2/+2
2023-07-31Remove more unnecessary `return` keywords.Nicholas Nethercote-6/+5
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-24/+23
2023-07-28Parse generic const itemsLeón Orell Valerian Liehr-1/+10
2023-07-28Auto merge of #114115 - nnethercote:less-token-tree-cloning, r=petrochenkovbors-34/+31
2023-07-27Remove `Iterator` impl for `TokenTreeCursor`.Nicholas Nethercote-5/+5
2023-07-27Avoid some token tree cloning in decl macro parsing.Nicholas Nethercote-23/+23