summaryrefslogtreecommitdiff
path: root/compiler/rustc_ast_lowering
Commit message (Expand)AuthorAgeFilesLines
* Require `impl Trait` in associated types to appear in method signaturesOli Scherer2023-05-122-18/+28
* Rollup merge of #111215 - BoxyUwU:resolve_anon_consts_differently, r=cjgillotMatthias Krüger2023-05-091-3/+5
|\
| * misc nameres changes for anon constsBoxy2023-05-051-3/+5
* | Limit lifetime of format_args!() with inlined args.Mara Bos2023-05-091-1/+24
* | Auto merge of #106621 - ozkanonur:enable-elided-lifetimes-for-doctests, r=Mar...bors2023-05-081-2/+4
|\ \ | |/ |/|
| * enable `rust_2018_idioms` for doctestsozkanonur2023-05-071-2/+4
* | Rollup merge of #110791 - compiler-errors:negative-bounds, r=oli-obkDylan DPC2023-05-041-2/+15
|\ \
| * | Implement negative boundsMichael Goulet2023-05-021-2/+15
* | | Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote2023-05-031-1/+1
|/ /
* | Rollup merge of #110823 - compiler-errors:tweak-await-span, r=b-naberMatthias Krüger2023-05-013-21/+7
|\ \
| * | Make async removal span more resilient to macro expansionsMichael Goulet2023-04-272-11/+3
| * | Tweak await spanMichael Goulet2023-04-272-15/+9
* | | Rollup merge of #110766 - m-ou-se:fmt-rt, r=jyn514Matthias Krüger2023-04-281-9/+9
|\ \ \ | |/ / |/| |
| * | Restructure std::fmt::rt a bit.Mara Bos2023-04-241-1/+1
| * | Remove "V1" from ArgumentsV1 and FlagsV1.Mara Bos2023-04-241-9/+9
* | | IntoFuture::into_future is no longer unstableMichael Goulet2023-04-263-8/+1
| |/ |/|
* | Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle2023-04-243-3/+3
|/
* Also arena-allocate `ast::MacroDef` to make `Item: Copy`Nilstrieb2023-04-221-1/+2
* offset_ofDrMeepster2023-04-212-0/+9
* Update comments in format args lowering.Mara Bos2023-04-201-7/+7
* Auto merge of #110407 - Nilstrieb:fluent-macro, r=davidtwcobors2023-04-192-1/+2
|\
| * Add `rustc_fluent_macro` to decouple fluent from `rustc_macros`Nilstrieb2023-04-182-1/+2
* | Rollup merge of #110451 - WaffleLapkin:ensure_return_elem, r=scottmcmMatthias Krüger2023-04-192-13/+12
|\ \ | |/ |/|
| * Make `IndexVec::ensure_contains_elem` return a reference to the elementMaybe Waffle2023-04-172-13/+12
* | Use `Item::expect_*` and `ImplItem::expect_*` moreMaybe Waffle2023-04-171-6/+4
|/
* Auto merge of #109588 - Nilstrieb:dropless-expr, r=compiler-errorsbors2023-04-171-30/+25
|\
| * Alloc `hir::Lit` in an arena to remove the destructor from `Expr`Nilstrieb2023-04-161-30/+25
* | use matches! macro in more placesMatthias Krüger2023-04-161-4/+1
|/
* Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholkMatthias Krüger2023-04-123-31/+17
|\
| * Remove `..` from return type notationMichael Goulet2023-04-103-31/+17
* | Fix typos in compilerDaniPopes2023-04-102-4/+4
|/
* Rename `ast::Static` to `ast::StaticItem` to match `ast::ConstItem`Oli Scherer2023-04-041-1/+1
* box a bunch of large typesOli Scherer2023-04-041-4/+4
* Split out ast::ItemKind::Const into its own structOli Scherer2023-04-041-5/+5
* rust-analyzer guided tuple field to named fieldOli Scherer2023-04-041-1/+1
* rust-analyzer guided enum variant structificationOli Scherer2023-04-041-1/+1
* Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray2023-04-022-4/+4
* Auto merge of #109010 - compiler-errors:rtn, r=eholkbors2023-03-314-21/+119
|\
| * Add `(..)` syntax for RTNMichael Goulet2023-03-284-36/+91
| * Add tests and error messagesMichael Goulet2023-03-283-5/+36
| * RTNMichael Goulet2023-03-281-0/+12
| * ParenthesizedGenericArgs::{Ok -> ParenSugar}Michael Goulet2023-03-282-5/+5
* | Rollup merge of #109664 - m-ou-se:format-args-placeholder-span, r=oli-obkDylan DPC2023-03-291-23/+43
|\ \ | |/ |/|
| * Use span of placeholders in format_args!() expansion.Mara Bos2023-03-271-23/+43
* | Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errorsGuillaume Gomez2023-03-272-42/+42
|\ \ | |/ |/|
| * Remove the `NodeId` of `ast::ExprKind::Async`Arpad Borsos2023-03-192-42/+42
* | rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov2023-03-221-1/+1
|/
* Gate fmt args flattening behind -Zflatten-format-args.Mara Bos2023-03-161-2/+5
* Don't allow new const panic through format flattening.Mara Bos2023-03-161-1/+17
* Also inline integer literals into format_args!().Mara Bos2023-03-161-5/+18