about summary refs log tree commit diff
path: root/src/librustc/hir/lowering
AgeCommit message (Collapse)AuthorLines
2019-12-31librustc_ast_lowering: move the files.Mazdak Farrokhzad-2894/+0
2019-12-30Enlarge smallvec.Camille GILLOT-1/+1
2019-12-30Reduce allocations.Camille GILLOT-1/+1
2019-12-30Duplicate allocations in lowering.Camille GILLOT-3/+3
2019-12-30Avoid a few allocations.Camille GILLOT-1/+1
2019-12-30Allocate inside lower_path_extra.Camille GILLOT-24/+10
2019-12-30Retire HirVec.Camille GILLOT-10/+8
2019-12-30Remove HirVec from Generics.Camille GILLOT-11/+35
2019-12-29Auto merge of #66942 - cjgillot:hirene-ty, r=Zoxcbors-73/+59
Allocate HIR on an arena 3/4 -- Ty This is the third PR in the series started by #66931 and #66936 Once again, commits don't really make sense on their own. They are mostly split by type of compile error. The additional diff is here: https://github.com/cjgillot/rust/compare/hirene-expr...hirene-ty
2019-12-27core: add IntoFuture trait and support for awaitSean McArthur-4/+20
2019-12-27Lowering for hir::Ty.Camille GILLOT-65/+48
2019-12-27Syntax for hir::Ty.Camille GILLOT-11/+11
2019-12-27Use Arena inside hir::TraitMethod.Camille GILLOT-0/+1
2019-12-27Use Arena inside hir::FnSig.Camille GILLOT-1/+3
2019-12-26Remove some type information.Camille GILLOT-13/+11
2019-12-26Fewer calls to arena.alloc.Camille GILLOT-123/+108
2019-12-26Lowering for hir::Expr.Camille GILLOT-160/+247
2019-12-26Syntax for hir::Expr.Camille GILLOT-58/+72
2019-12-23Add span information to `ExprKind::Assign`varkor-4/+7
2019-12-22Format the worldMark Rousskov-611/+390
2019-12-21Tidy.Camille GILLOT-19/+32
2019-12-21Use Arena inside hir::Body.Camille GILLOT-7/+10
2019-12-21Use Arena inside hir::Mod.Camille GILLOT-2/+2
2019-12-21Use Arena inside hir::StructField.Camille GILLOT-4/+5
2019-12-21Use Arena inside hir::EnumDef.Camille GILLOT-8/+10
2019-12-21Use Arena inside hir::ImplItem.Camille GILLOT-4/+6
2019-12-21Use Arena inside hir::TraitItem.Camille GILLOT-6/+7
2019-12-21Use Arena inside hir::ForeignItem.Camille GILLOT-7/+8
2019-12-21Handle Attributes in arena.Camille GILLOT-7/+7
2019-12-21Use Arena inside hir::Item.Camille GILLOT-34/+37
2019-12-21Use Arena inside hir::Crate.Camille GILLOT-18/+18
2019-12-21Rollup merge of #67355 - Centril:merge-mut, r=oli-obkMazdak Farrokhzad-1/+1
Merge `ast::Mutability` and `mir::Mutability` r? @oli-obk
2019-12-20introduce 'type AttrVec'Mazdak Farrokhzad-19/+12
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-1/+1
2. mir::Mutability -> ast::Mutability.
2019-12-12make visitor uses more robustMazdak Farrokhzad-2/+2
2019-12-12`AssocImplKind::{Method -> Fn}`.Mazdak Farrokhzad-5/+5
2019-12-12Remove `ast::{Impl,Trait}{Item,ItemKind}`.Mazdak Farrokhzad-23/+23
2019-12-12Unify associated item visitor.Mazdak Farrokhzad-2/+2
2019-12-12Unify `{Trait,Impl}ItemKind::TyAlias` structures.Mazdak Farrokhzad-8/+16
2019-12-12`TraitItemKind::Type` -> `TraitItemKind::TyAlias`.Mazdak Farrokhzad-2/+2
2019-12-12Use `Option` in `ImplItemKind::Method`.Mazdak Farrokhzad-23/+48
2019-12-12Use `Option` in `ImplItemKind::Const`.Mazdak Farrokhzad-1/+7
2019-12-02syntax: Use `ast::MacArgs` for macro definitionsVadim Petrochenkov-1/+1
2019-11-24Add raw address of expressions to the AST and HIRMatthew Jasper-3/+7
2019-11-21reduce size of hir::ExprKindMazdak Farrokhzad-13/+13
2019-11-16ast: Keep string literals in ABIs preciselyVadim Petrochenkov-3/+3
2019-11-16ast: Keep `extern` qualifiers in functions more preciselyVadim Petrochenkov-2/+10
2019-11-15Rollup merge of #66197 - Centril:transparent-ast, r=varkorTyler Mandry-27/+35
Push `ast::{ItemKind, ImplItemKind}::OpaqueTy` hack down into lowering We currently have a hack in the form of `ast::{ItemKind, ImplItemKind}::OpaqueTy` which is constructed literally when you write `type Alias = impl Trait;` but not e.g. `type Alias = Vec<impl Trait>;`. Per https://github.com/rust-lang/rfcs/pull/2515, this needs to change to allow `impl Trait` in nested positions. This PR achieves this change for the syntactic aspect but not the semantic one, which will require changes in lowering and def collection. In the interim, `TyKind::opaque_top_hack` is introduced to avoid knock-on changes in lowering, collection, and resolve. These hacks can then be removed and fixed one by one until the desired semantics are supported. r? @varkor
2019-11-14TAIT: use hack in ->HIR to avoid more changesMazdak Farrokhzad-27/+35
2019-11-14Update to use new librustc_error_codes libraryGuillaume Gomez-0/+4