summaryrefslogtreecommitdiff
path: root/compiler/rustc_ast/src
Commit message (Expand)AuthorAgeFilesLines
* Use `tidy-alphabetical` in the compilerNilstrieb2022-10-123-4/+7
* Auto merge of #102692 - nnethercote:TokenStreamBuilder, r=Aaron1011bors2022-10-121-72/+45
|\
| * Remove `TokenStreamBuilder`.Nicholas Nethercote2022-10-051-72/+45
* | Rollup merge of #102868 - compiler-errors:rename-assoc-tyalias-to-ty, r=TaKO8KiDylan DPC2022-10-103-6/+6
|\ \
| * | Rename AssocItemKind::TyAlias to AssocItemKind::TypeMichael Goulet2022-10-103-6/+6
| |/
* | fixup lint nameMaybe Waffle2022-10-091-1/+1
* | allow or avoid for loops over option in compiler and testsMaybe Waffle2022-10-091-8/+6
|/
* Rewrite `Token::is_op`.Nicholas Nethercote2022-10-031-11/+8
* Add comments to `Spacing`.Nicholas Nethercote2022-10-031-0/+11
* Rollup merge of #102493 - nnethercote:improve-size-assertions-some-more, r=lqdMatthias Krüger2022-09-302-16/+26
|\
| * Group together more size assertions.Nicholas Nethercote2022-10-012-16/+26
* | Inline `<Token as PartialEq<TokenKind>>::eq`.Nicholas Nethercote2022-09-291-0/+1
|/
* Auto merge of #102302 - nnethercote:more-lexer-improvements, r=matkladbors2022-09-281-6/+1
|\
| * Remove `ast::Token::take`.Nicholas Nethercote2022-09-261-6/+1
* | remove cfg(bootstrap)Pietro Albini2022-09-262-3/+0
|/
* Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplettDylan DPC2022-09-171-1/+1
|\
| * Only enable the let_else feature on bootstrapest312022-09-151-1/+1
* | more simple formattingRageking82022-09-162-42/+42
|/
* Auto merge of #101313 - SparrowLii:mk_attr_id, r=cjgillotbors2022-09-142-17/+57
|\
| * add debug assertion for max `attr_id`SparrowLii2022-09-141-1/+24
| * make `mk_attr_id` part of `ParseSess`SparrowLii2022-09-142-17/+34
* | Auto merge of #101212 - eholk:dyn-star, r=compiler-errorsbors2022-09-141-0/+1
|\ \
| * | Introduce dyn_star feature flagEric Holk2022-09-121-0/+1
* | | Auto merge of #101709 - nnethercote:simplify-visitors-more, r=cjgillotbors2022-09-141-17/+13
|\ \ \ | |_|/ |/| |
| * | Remove unused span argument from `walk_fn`.Nicholas Nethercote2022-09-121-3/+3
| * | Remove `path_span` argument to the `visit_path_segment` methods.Nicholas Nethercote2022-09-121-14/+10
* | | Rollup merge of #101752 - GuillaumeGomez:improve-attr-docs, r=lqdMatthias Krüger2022-09-131-1/+11
|\ \ \
| * | | Improve Attribute doc methodsGuillaume Gomez2022-09-121-1/+11
| | |/ | |/|
* | | Rollup merge of #101602 - nnethercote:AttrTokenStream, r=petrochenkovDylan DPC2022-09-136-130/+112
|\ \ \ | |/ / |/| |
| * | Rename `{Create,Lazy}TokenStream` as `{To,Lazy}AttrTokenStream`.Nicholas Nethercote2022-09-095-61/+64
| * | Inline and remove `TokenStream::opt_from_ast`.Nicholas Nethercote2022-09-092-15/+13
| * | Tweak some formatting.Nicholas Nethercote2022-09-091-9/+5
| * | Change return type of `Attribute::tokens`.Nicholas Nethercote2022-09-092-11/+9
| * | Rename `AttrAnnotatedToken{Stream,Tree}`.Nicholas Nethercote2022-09-093-34/+31
| * | Move `Spacing` out of `AttrAnnotatedTokenStream`.Nicholas Nethercote2022-09-093-25/+15
* | | Auto merge of #99334 - NiklasJonsson:84447/error-privacy, r=oli-obkbors2022-09-121-1/+1
|\ \ \
| * | | rustc_error, rustc_private, rustc_ast: Switch to stable hash containersNiklas Jonsson2022-09-101-1/+1
| | |/ | |/|
* | | Rollup merge of #101668 - chenyukang:fix-101626, r=TaKO8KiDylan DPC2022-09-121-0/+1
|\ \ \
| * | | fix #101626, suggest pub instead of public for const type itemyukang2022-09-111-0/+1
| |/ /
* | | Rollup merge of #100767 - kadiwa4:escape_ascii, r=jackh726Dylan DPC2022-09-121-6/+1
|\ \ \ | |/ / |/| |
| * | use <[u8]>::escape_ascii instead of core::ascii::escape_defaultKaDiWa2022-08-191-6/+1
* | | Rollup merge of #101573 - lcnr:param-kind-ord, r=BoxyUwUDylan DPC2022-09-091-33/+3
|\ \ \
| * | | reviewlcnr2022-09-091-1/+1
| * | | update `ParamKindOrd`lcnr2022-09-081-33/+3
| | |/ | |/|
* | | Make async fn in traits workMichael Goulet2022-09-091-2/+2
|/ /
* | Auto merge of #94075 - mikebenfield:wip-enum, r=oli-obkbors2022-09-071-1/+2
|\ \
| * | Use niche-filling optimization even when multiple variants have data.Michael Benfield2022-09-071-1/+2
* | | Add documentation for Attr::is_doc_commentGuillaume Gomez2022-09-071-0/+2
|/ /
* | Auto merge of #101362 - compiler-errors:unnecessary-let, r=cjgillotbors2022-09-061-0/+24
|\ \
| * | Suggest removing unnecessary prefix let in patternsMichael Goulet2022-09-031-0/+24