about summary refs log tree commit diff
path: root/compiler/rustc_ast
AgeCommit message (Expand)AuthorLines
2022-12-02Add `StrStyle` to `ast::LitKind::ByteStr`.Nicholas Nethercote-8/+15
2022-12-02Rename `LitKind::to_token_lit` as `LitKind::synthesize_token_lit`.Nicholas Nethercote-4/+4
2022-12-01Make inline const block `ExprWithBlock`Gary Guo-0/+1
2022-12-01Remove useless borrows and derefsMaybe Waffle-19/+18
2022-12-01rustc_ast_lowering: Stop lowering imports into multiple itemsVadim Petrochenkov-12/+5
2022-11-29Avoid more `MetaItem`-to-`Attribute` conversions.Nicholas Nethercote-124/+52
2022-11-29Inline and remove `MetaItemLit::from_lit_kind`.Nicholas Nethercote-9/+2
2022-11-29Reorder some types.Nicholas Nethercote-27/+27
2022-11-29Improve comments about attributes and meta items.Nicholas Nethercote-10/+14
2022-11-28Keep track of the start of the argument block of a closureSarthak Singh-1/+5
2022-11-28Rename `NestedMetaItem::[Ll]iteral` as `NestedMetaItem::[Ll]it`.Nicholas Nethercote-8/+8
2022-11-28Adjust comments on `StrLit`.Nicholas Nethercote-2/+1
2022-11-28Rename `ast::Lit` as `ast::MetaItemLit`.Nicholas Nethercote-31/+32
2022-11-28Remove `Lit::from_included_bytes`.Nicholas Nethercote-8/+0
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-31/+33
2022-11-26Rollup merge of #104786 - WaffleLapkin:amp-mut-help, r=compiler-errorsGuillaume Gomez-2/+30
2022-11-23Add `Mutability::mutably_str`Maybe Waffle-0/+8
2022-11-23Don't accept `Mutability` by refMaybe Waffle-2/+2
2022-11-23Add `Mutability::{is_mut,is_not}`Maybe Waffle-0/+10
2022-11-23Suggest `.clone()` or `ref binding` on E0382Esteban Küber-3/+4
2022-11-23Add `Mutability::ref_prefix_str`, order `Mutability`, simplify codeMaybe Waffle-1/+11
2022-11-23Fix an ICE parsing a malformed attribute.Nicholas Nethercote-3/+6
2022-11-22Auto merge of #103578 - petrochenkov:nofict, r=nagisabors-1/+1
2022-11-22Split `MacArgs` in two.Nicholas Nethercote-90/+107
2022-11-21Unreserve braced enum variants in value namespaceVadim Petrochenkov-1/+1
2022-11-21Remove `ref` patterns from `rustc_ast`Maybe Waffle-224/+214
2022-11-17Use `ThinVec` in `ast::Path`.Nicholas Nethercote-16/+15
2022-11-17Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and ...Nicholas Nethercote-43/+82
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-48/+65
2022-11-15Rollup merge of #104391 - nnethercote:deriving-cleanups, r=jackh726Matthias Krüger-9/+7
2022-11-14Remove TraitDef::generics.Nicholas Nethercote-9/+7
2022-11-14Auto merge of #103858 - Mark-Simulacrum:bump-bootstrap, r=pietroalbinibors-1/+1
2022-11-11Introduce `ExprKind::IncludedBytes`clubby789-3/+17
2022-11-11Auto merge of #99918 - WaffleLapkin:fnFnfun, r=estebankbors-0/+17
2022-11-09Rollup merge of #103919 - nnethercote:unescaping-cleanups, r=matkladDylan DPC-18/+11
2022-11-06cfg-step codeMark Rousskov-1/+1
2022-11-05Remove `unescape_byte_literal`.Nicholas Nethercote-18/+11
2022-11-02rustdoc: use ThinVec for cleaned genericsMichael Howell-1/+1
2022-10-26remove unused parser fnMichael Goulet-18/+0
2022-10-23Workaround unstable stmt_expr_attributes for method receiver expressions.Camille GILLOT-1/+18
2022-10-18Fix `TyKind::is_simple_path`.Nicholas Nethercote-2/+5
2022-10-12Use `tidy-alphabetical` in the compilerNilstrieb-4/+7
2022-10-12Auto merge of #102692 - nnethercote:TokenStreamBuilder, r=Aaron1011bors-72/+45
2022-10-10Rollup merge of #102868 - compiler-errors:rename-assoc-tyalias-to-ty, r=TaKO8KiDylan DPC-6/+6
2022-10-10Rename AssocItemKind::TyAlias to AssocItemKind::TypeMichael Goulet-6/+6
2022-10-09fixup lint nameMaybe Waffle-1/+1
2022-10-09allow or avoid for loops over option in compiler and testsMaybe Waffle-8/+6
2022-10-06Auto merge of #99324 - reez12g:issue-99144, r=jyn514bors-1/+0
2022-10-05Remove `TokenStreamBuilder`.Nicholas Nethercote-72/+45
2022-10-03Rewrite `Token::is_op`.Nicholas Nethercote-11/+8