| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-30 | Make things build again | Vadim Petrochenkov | -1/+1 | |
| 2019-12-30 | discriminant -> scrutinee | Mazdak Farrokhzad | -8/+8 | |
| 2019-12-30 | Blame user type in pat type error. | Mazdak Farrokhzad | -5/+14 | |
| 2019-12-30 | refactor and fix this-expression-has-type note | Mazdak Farrokhzad | -0/+1 | |
| 2019-12-30 | MatchExpressionArmPattern -> Pattern | Mazdak Farrokhzad | -7/+5 | |
| Current name is too specific for incoming changes. | ||||
| 2019-12-30 | MatchExpressionArmPattern: Use more generic wording. | Mazdak Farrokhzad | -1/+1 | |
| The existing wording was inappropriate for e.g. `if let Ok(_) = expr { .. }`. The diagnostic would leak the fact that we desugar to a `match`. | ||||
| 2019-12-30 | Outdated comment. | Camille GILLOT | -1/+1 | |
| 2019-12-30 | Move region_scope_tree query to librustc_passes. | Camille GILLOT | -0/+670 | |
| 2019-12-30 | Move region.rs to librustc_passes. | Camille GILLOT | -1536/+0 | |
| 2019-12-30 | Duplicate allocations in lowering. | Camille GILLOT | -3/+3 | |
| 2019-12-30 | Avoid a few allocations. | Camille GILLOT | -12/+14 | |
| 2019-12-30 | Allocate inside lower_path_extra. | Camille GILLOT | -38/+20 | |
| 2019-12-30 | Retire hir::ptr. | Camille GILLOT | -131/+1 | |
| 2019-12-30 | Retire HirVec. | Camille GILLOT | -54/+35 | |
| 2019-12-30 | Remove HirVec from Generics. | Camille GILLOT | -73/+114 | |
| 2019-12-30 | Auto merge of #67658 - spastorino:do-not-copy-zsts, r=oli-obk | bors | -0/+8 | |
| Avoid memory copy logic for zsts r? @oli-obk One of the included commits is work done by @HeroicKatora in #62655 | ||||
| 2019-12-30 | Auto merge of #67721 - JohnTitor:rollup-o8zm4r9, r=JohnTitor | bors | -742/+38 | |
| Rollup of 10 pull requests Successful merges: - #64273 (Stabilize attribute macros on inline modules) - #67287 (typeck: note other end-point when checking range pats) - #67564 (docs: Iterator adapters have unspecified results after a panic) - #67622 (Some keyword documentation.) - #67657 (Clean up const-hack PRs now that const if / match exist.) - #67677 (resolve: Minor cleanup of duplicate macro reexports) - #67687 (Do not ICE on lifetime error involving closures) - #67698 (Move reachable_set and diagnostic_items to librustc_passes.) - #67701 (tidy: Enforce formatting rather than just check it if `--bless` is specified) - #67715 (Typo fix) Failed merges: r? @ghost | ||||
| 2019-12-30 | Rollup merge of #67698 - cjgillot:passes-first, r=Zoxc | Yuki Okushi | -742/+38 | |
| Move reachable_set and diagnostic_items to librustc_passes. Split out of #67688 r? @Zoxc | ||||
| 2019-12-29 | clean up logic | Esteban Küber | -0/+10 | |
| 2019-12-30 | Auto merge of #67631 - oli-obk:polymorphic_promotion, r=wesleywiser | bors | -1/+23 | |
| Work around a resolve bug in const prop r? @wesleywiser @anp This isn't exposed right now, but further changes to rustc may start causing bugs without this. | ||||
| 2019-12-29 | Auto merge of #66942 - cjgillot:hirene-ty, r=Zoxc | bors | -687/+714 | |
| 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-29 | Introduce librustc/middle/mod.rs | Camille GILLOT | -39/+36 | |
| 2019-12-29 | Move get_lib_features query in librustc_passes. | Camille GILLOT | -5/+24 | |
| 2019-12-29 | Move lib_features.rs in librustc_passes. | Camille GILLOT | -153/+0 | |
| 2019-12-29 | Move diagnostic_items queries to librustc_passes. | Camille GILLOT | -9/+0 | |
| 2019-12-29 | Move diagnostic_items.rs to librustc_passes. | Camille GILLOT | -119/+0 | |
| 2019-12-29 | Move reachable_set query in librustc_passes. | Camille GILLOT | -4/+2 | |
| 2019-12-29 | Move reachable.rs to librustc_passes. | Camille GILLOT | -437/+0 | |
| 2019-12-29 | Auto merge of #67614 - Mark-Simulacrum:global-callbacks, r=Zoxc | bors | -60/+7 | |
| Set callbacks globally This sets the callbacks from syntax and rustc_errors just once, utilizing static (rather than thread-local) storage. | ||||
| 2019-12-28 | Avoid copying some undef memory in MIR | Santiago Pastorino | -0/+8 | |
| During MIR interpretation it may happen that a place containing uninitialized bytes is copied. This would read the current representation of these bytes and write it to the destination even though they must, by definition, not matter to the execution. This elides that representation change when no bytes are defined in such a copy, saving some cpu cycles. In such a case, the memory of the target allocation is not touched at all which also means that sometimes no physical page backing the memory allocation of the representation needs to be provided by the OS at all, reducing memory pressure on the system. | ||||
| 2019-12-28 | Rollup merge of #67604 - christianpoveda:scalar_to_(u|i)64, r=RalfJung | Oliver Scherer | -21/+35 | |
| Add Scalar::to_(u|i)16 methods r? @RalfJung | ||||
| 2019-12-27 | core: add IntoFuture trait and support for await | Sean McArthur | -4/+22 | |
| 2019-12-27 | Address review. | Camille GILLOT | -9/+10 | |
| 2019-12-27 | Lowering for hir::Ty. | Camille GILLOT | -246/+231 | |
| 2019-12-27 | Visit for hir::Ty. | Camille GILLOT | -60/+55 | |
| 2019-12-27 | Syntax for hir::Ty. | Camille GILLOT | -386/+429 | |
| 2019-12-27 | Use Arena inside hir::TraitMethod. | Camille GILLOT | -4/+5 | |
| 2019-12-27 | Use Arena inside hir::FnSig. | Camille GILLOT | -16/+18 | |
| 2019-12-27 | Fix `Instance::resolve()` incorrectly returning specialized instances | Wesley Wiser | -1/+23 | |
| We only want to return specializations when `Reveal::All` is passed, not when `Reveal::UserFacing` is. Resolving this fixes several issues with the `ConstProp`, `SimplifyBranches`, and `Inline` MIR optimization passes. Fixes #66901 | ||||
| 2019-12-27 | Auto merge of #67192 - oli-obk:const_zst_addr, r=RalfJung,varkor | bors | -9/+10 | |
| Various const eval and pattern matching ICE fixes r? @RalfJung cc @spastorino This PR does not change existing behaviour anymore and just fixes a bunch of ICEs reachable from user code (sometimes even on stable via obscure union transmutes). | ||||
| 2019-12-26 | Move arena_vec inside lowering. | Camille GILLOT | -12/+12 | |
| 2019-12-26 | Remove some type information. | Camille GILLOT | -15/+13 | |
| 2019-12-26 | Fewer calls to arena.alloc. | Camille GILLOT | -138/+121 | |
| 2019-12-26 | Lowering for hir::Expr. | Camille GILLOT | -229/+347 | |
| 2019-12-26 | Visit for hir::Expr. | Camille GILLOT | -34/+33 | |
| 2019-12-26 | Syntax for hir::Expr. | Camille GILLOT | -324/+338 | |
| 2019-12-26 | Early abort instead of building up zero sized values | Oliver Scherer | -4/+0 | |
| 2019-12-26 | Prevent an ICE on invalid transmutes | Oliver Scherer | -0/+6 | |
| 2019-12-26 | Retire `to_ptr` which should already have no users but still kept getting ↵ | Oliver Scherer | -9/+4 | |
| new ones | ||||
| 2019-12-26 | Don't ICE on the use of integer addresses for ZST constants in pattern matching | Oliver Scherer | -0/+4 | |
