about summary refs log tree commit diff
path: root/compiler/rustc_ast/src
AgeCommit message (Expand)AuthorLines
2022-06-02Revert #96682.Nicholas Nethercote-3/+2
2022-05-23Rollup merge of #97254 - jhpratt:remove-crate-vis, r=cjgillotDylan DPC-11/+1
2022-05-22rustc_ast: Support MacArgs::inner_tokens for arbitrary expressionsVadim Petrochenkov-16/+3
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-10/+94
2022-05-21Merge crate and restricted visibilitiesJacob Pratt-2/+1
2022-05-21Remove feature: `crate` visibility modifierJacob Pratt-11/+2
2022-05-21Rollup merge of #97232 - tshepang:typo, r=Dylan-DPCGuillaume Gomez-1/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-3/+2
2022-05-20typoTshepang Lekhonkhobe-1/+1
2022-05-20Introduce BareFnTy::decl_span and fix generics span.Camille GILLOT-1/+4
2022-05-20Introduce LifetimeCtxt.Camille GILLOT-5/+17
2022-05-19Auto merge of #97114 - klensy:cursor-ref, r=petrochenkovbors-3/+12
2022-05-18use `CursorRef` more, to not to clone `Tree`sklensy-3/+12
2022-05-18Auto merge of #96800 - nbdd0121:const, r=nagisabors-2/+2
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-339/+440
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-1/+1
2022-05-07Permit asm_const and asm_sym to reference outer generic paramsGary Guo-2/+2
2022-05-05Rollup merge of #96682 - nnethercote:show-invisible-delims, r=petrochenkovMatthias Krüger-2/+3
2022-05-04Auto merge of #96546 - nnethercote:overhaul-MacArgs, r=petrochenkovbors-36/+97
2022-05-05Add a comment on `TokenKind::Interpolated`.Nicholas Nethercote-0/+9
2022-05-05Overhaul `MacArgs::Eq`.Nicholas Nethercote-30/+86
2022-05-04Auto merge of #96683 - nnethercote:speed-up-Token-ident-lifetime, r=petrochenkovbors-7/+17
2022-05-04Show invisible delimeters (within comments) when pretty printing.Nicholas Nethercote-2/+3
2022-05-04Remove unnecessary `NtIdent` in `Token::is_whole_expr`.Nicholas Nethercote-1/+1
2022-05-04Speed up `Token::{ident,lifetime}`.Nicholas Nethercote-6/+16
2022-05-02fix most compiler/ doctestsElliot Roberts-1/+1
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-1/+14
2022-04-30Save colon span to suggest bounds.Camille GILLOT-1/+5
2022-04-29Remove the `T::VISIT_TOKENS` test in `visit_mac_args`.Nicholas Nethercote-11/+7
2022-04-29Rename `visit_interpolated` as `visit_nonterminal`.Nicholas Nethercote-2/+2
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-38/+45
2022-04-27Avoid producing `NoDelim` values in `MacArgs::delim()`.Nicholas Nethercote-3/+3
2022-04-25Auto merge of #96246 - SparrowLii:bound_contxet, r=compiler-errorsbors-12/+34
2022-04-21Auto merge of #96210 - nnethercote:speed-up-TokenCursor, r=petrochenkovbors-15/+12
2022-04-21Introduced `Cursor::next_with_spacing_ref`.Nicholas Nethercote-0/+8
2022-04-21rename to `BoundKind` and add commentsSparrowLii-14/+26
2022-04-20Add `BoundCtxt` in `visit_param_bounds` to check questions in boundsSparrowLii-12/+22
2022-04-20Inline `Cursor::next_with_spacing`.Nicholas Nethercote-0/+1
2022-04-19rustc_metadata: Store a flag telling whether an item may have doc links in it...Vadim Petrochenkov-0/+13
2022-04-19Inline and remove `TokenTree::{open_tt,close_tt}`.Nicholas Nethercote-10/+0
2022-04-19Tweak `Cursor::next_with_spacing`.Nicholas Nethercote-5/+3
2022-04-17Auto merge of #95779 - cjgillot:ast-lifetimes-undeclared, r=petrochenkovbors-10/+9
2022-04-17Auto merge of #96016 - Aaron1011:hash-name-cleanup, r=cjgillotbors-2/+2
2022-04-17Visit generics inside visit_fn.Camille GILLOT-10/+9
2022-04-16Auto merge of #94468 - Amanieu:global_asm_sym, r=nagisabors-10/+54
2022-04-15Rollup merge of #94461 - jhpratt:2024-edition, r=pnkfelixDylan DPC-1/+1
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-10/+54
2022-04-13Remove last vestiges of skippng ident span hashingAaron Hill-2/+2
2022-04-11Use const Box::default in P::<[T]>::newJosh Stone-8/+3
2022-04-10better error for binder on associated type boundMichael Goulet-1/+1