| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-23 | Stabilize futures_api | Taylor Cramer | -2/+2 | |
| 2019-04-23 | Update ui tests | varkor | -19/+19 | |
| 2019-04-23 | Remove unnecessary ignore-tidy-linelength | varkor | -6/+0 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -1/+0 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -12/+6 | |
| 2019-03-31 | Suggest using anonymous lifetime in `impl Trait` return without hacks | Esteban Küber | -10/+14 | |
| Fallback to `static_impl_trait` for nice error message by peeking at the return type and the lifetime type. Point at the return type instead of the return expr/stmt in NLL mode. | ||||
| 2019-03-29 | Suggest using anonymous lifetime in `impl Trait` return | Esteban Küber | -3/+9 | |
| 2019-03-15 | rustc: provide DisambiguatedDefPathData in ty::print. | Eduard-Mihai Burtescu | -6/+6 | |
| 2019-03-12 | Auto merge of #58608 - ↵ | bors | -0/+212 | |
| pnkfelix:warning-period-for-detecting-nested-impl-trait, r=zoxc Warning period for detecting nested impl trait Here is some proposed code for making a warning period for the new checking of nested impl trait. It undoes some of the corrective effects of PR #57730, by using boolean flags to track parts of the analysis that were previously skipped prior to PRs #57730 and #57981 landing. Cc #57979 | ||||
| 2019-03-11 | Update tests | Vadim Petrochenkov | -29/+29 | |
| 2019-03-11 | Test illustrating that the nested_impl_trait lint should only catch shallow ↵ | Felix S. Klock II | -0/+72 | |
| cases. | ||||
| 2019-03-08 | Unit (and regression) tests for warning cycle code. | Felix S. Klock II | -0/+140 | |
| 2019-02-24 | Deny `async fn` in 2015 edition | Nathan Corbyn | -16/+26 | |
| Fix style issues and update diagnostic messages Update src/librustc_passes/diagnostics.rs Co-Authored-By: doctorn <me@nathancorbyn.com> Deny nested `async fn` in Rust 2015 edition Deny nested `async fn` in Rust 2015 edition Deny nested `async fn` in Rust 2015 edition | ||||
| 2019-02-07 | Resolve incorrect diagnostic for using a non-const value in a constant | varkor | -21/+13 | |
| 2019-01-24 | Rollup merge of #57793 - estebank:impl-trait-resolve, r=oli-obk | Mazdak Farrokhzad | -1/+4 | |
| Explain type mismatch cause pointing to return type when it is `impl Trait` Fix #57743. | ||||
| 2019-01-20 | Explain type mismatch cause pointing to return type when it is `impl Trait` | Esteban Küber | -1/+4 | |
| 2019-01-20 | Remove unnecessary dummy span checks | Esteban Küber | -3/+3 | |
| The emitter already verifies wether a given span note or span label can be emitted to the output. If it can't, because it is a dummy span, it will be either elided for labels or emitted as an unspanned note/help when applicable. | ||||
| 2019-01-11 | Update tests | John Kåre Alsaker | -0/+22 | |
| 2019-01-03 | Forbid impl Trait from referring to unnamable recursive types | Matthew Jasper | -8/+222 | |
| There is no type T, such that `T = [T; 2]`, we should not allow this to be circumvented by impl Trait. | ||||
| 2019-01-01 | privacy: Use common `DefId` visiting infra for all privacy visitors | Vadim Petrochenkov | -1/+3 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -530/+151 | |
| 2018-12-20 | Point at coercion source on type errors for fn returning `impl Trait` | Esteban Küber | -0/+3 | |
| 2018-12-04 | Update tests | Oliver Scherer | -5/+12 | |
| 2018-11-03 | Regression test for issue 55608. | Felix S. Klock II | -0/+33 | |
| 2018-10-18 | Rollup merge of #55102 - petrochenkov:trextra, r=nikomatsakis | kennytm | -0/+20 | |
| resolve: Do not skip extern prelude during speculative resolution Fixes https://github.com/rust-lang/rust/issues/54665 | ||||
| 2018-10-17 | resolve: Do not skip extern prelude during speculative resolution | Vadim Petrochenkov | -0/+20 | |
| 2018-10-17 | Update output for borrowck=migrate compare mode. | David Wood | -86/+0 | |
| This commit updates the test output for the updated NLL compare mode that uses `-Z borrowck=migrate` rather than `-Z borrowck=mir`. The previous commit changes `compiletest` and this commit only updates `.nll.stderr` files. | ||||
| 2018-10-11 | structured suggestion for E0223 ambiguous associated type | Zack M. Davis | -3/+1 | |
| It looks like we tend to use angle-brackets around the placeholder in the few other places we use `Applicability::HasPlaceholders`, but that would be confusing here, so ... | ||||
| 2018-10-07 | Auto merge of #54810 - 1aim:unused-impl-trait, r=oli-obk | bors | -0/+73 | |
| Fix dead code lint for functions using impl Trait Fixes https://github.com/rust-lang/rust/issues/54754 This is a minimal fix that doesn't add any new queries or touches unnecessary code. Please nominate for beta backport if wanted. | ||||
| 2018-10-05 | Auto merge of #54741 - oli-obk:impl_trait_hierarchy, r=cramertj | bors | -0/+19 | |
| Nest the `impl Trait` existential item inside the return type fixes #54045 r? @cramertj | ||||
| 2018-10-04 | Convert issue-49376.rs to compile-pass | Jonas Schievink | -0/+31 | |
| 2018-10-04 | Convert existential-minimal.rs to compile-pass | Jonas Schievink | -0/+15 | |
| 2018-10-04 | Convert impl-trait/issue-42479.rs to compile-pass | Jonas Schievink | -0/+27 | |
| 2018-10-02 | Nest the `impl Trait` existential item inside the return type | Oliver Schneider | -0/+19 | |
| 2018-09-30 | Added help message for `impl_trait_in_bindings` feature gate. | Alexander Regueiro | -0/+2 | |
| 2018-09-26 | use the closure def-id in returns, but closure-base def-id in locals | Niko Matsakis | -0/+14 | |
| Using the `closure_base_def_id` indiscriminantely, as we were doing before, winds up "going wrong" if the closure type includes the `impl Trait` from the parent. The problem arises because the return value for closures is inferred and meant to treat the return type *opaquely*, so we don't want to be "desugaring" it into the underlying type. | ||||
| 2018-09-25 | Added tests. | Alexander Regueiro | -1/+114 | |
| 2018-09-19 | Update ui tests | Matthew Jasper | -8/+8 | |
| 2018-09-18 | Auto merge of #53900 - davidtwco:issue-53771, r=nikomatsakis | bors | -0/+14 | |
| NLL regresses diagnostic for impl-trait/static-return-lifetime-infered.rs Fixes #53771. r? @nikomatsakis cc @pnkfelix @estebank | ||||
| 2018-09-14 | Rollup merge of #53829 - alexcrichton:release-debuginfo, r=michaelwoerister | kennytm | -3/+6 | |
| Add rustc SHA to released DWARF debuginfo This commit updates the debuginfo that is encoded in all of our released artifacts by default. Currently it has paths like `/checkout/src/...` but these are a little inconsistent and have changed over time. This commit instead attempts to actually define the file paths in our debuginfo to be consistent between releases. All debuginfo paths are now intended to be `/rustc/$sha` where `$sha` is the git sha of the released compiler. Sub-paths are all paths into the git repo at that `$sha`. | ||||
| 2018-09-13 | Updated suggestion/help messages. | David Wood | -7/+5 | |
| 2018-09-13 | Emit appropriate suggestion when there's already 'static bound on the return ↵ | David Wood | -3/+3 | |
| type. | ||||
| 2018-09-13 | Don't suggest adding a synthesized region name. | David Wood | -2/+2 | |
| 2018-09-13 | Added help message for impl trait static constraint. | David Wood | -0/+16 | |
| 2018-09-10 | Add rustc SHA to released DWARF debuginfo | Alex Crichton | -3/+6 | |
| This commit updates the debuginfo that is encoded in all of our released artifacts by default. Currently it has paths like `/checkout/src/...` but these are a little inconsistent and have changed over time. This commit instead attempts to actually define the file paths in our debuginfo to be consistent between releases. All debuginfo paths are now intended to be `/rustc/$sha` where `$sha` is the git sha of the released compiler. Sub-paths are all paths into the git repo at that `$sha`. | ||||
| 2018-09-08 | Auto merge of #53705 - ms2300:tmp, r=oli-obk | bors | -2/+2 | |
| #53576 Renaming TyAnon -> TyOpaque Fixes #53576 | ||||
| 2018-09-06 | Fix tests | Wesley Wiser | -2/+2 | |
| 2018-09-06 | Fixing tests from anon -> opaque | ms2300 | -2/+2 | |
| 2018-09-01 | Update tests | Basile Desloges | -48/+0 | |
| 2018-08-27 | fix another | Mark Mansi | -1/+1 | |
