summary refs log tree commit diff
path: root/compiler/rustc_ast
AgeCommit message (Expand)AuthorLines
2022-06-24Rollup merge of #98394 - Enselic:fixup-rustc_main-renames, r=petrochenkovYuki Okushi-1/+1
2022-06-22Fixup missing renames from `#[main]` to `#[rustc_main]`Martin Nordholts-1/+1
2022-06-20Merge `TokenStreamBuilder::push` into `TokenStreamBuilder::build`.Nicholas Nethercote-53/+32
2022-06-20Remove `TokenStream::from_streams`.Nicholas Nethercote-40/+37
2022-06-20Remove `Cursor::index`.Nicholas Nethercote-4/+0
2022-06-20Remove `Cursor::append`.Nicholas Nethercote-11/+1
2022-06-14Rename rustc_serialize::opaque::Encoder as MemEncoder.Nicholas Nethercote-3/+3
2022-06-10Revert b983e42936feab29f6333e9835913afc6b4a394e.Nicholas Nethercote-3/+3
2022-06-08Rollup merge of #97856 - compiler-errors:bad-let-suggestions, r=estebankMichael Goulet-0/+16
2022-06-07Don't suggest adding let in certain if conditionsMichael Goulet-0/+16
2022-06-08Rename `rustc_serialize::opaque::Encoder` as `MemEncoder`.Nicholas Nethercote-3/+3
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-9/+7
2022-06-03Fully stabilize NLLJack Huey-1/+0
2022-06-03Remove emit_unitbjorn3-2/+2
2022-06-03Remove support for -Zast-json and -Zast-json-noexpandbjorn3-14/+0
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