| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-06-26 | Don't inspect the generated existential type items | Oliver Schneider | -49/+9 | |
| 2018-06-19 | Add message to `rustc_on_unimplemented` attributes in core | Esteban Küber | -6/+6 | |
| 2018-06-18 | Auto merge of #51414 - oli-obk:impl_trait_type_def, r=pnkfelix | bors | -111/+211 | |
| Add existential type definitions Note: this does not allow creating named existential types, it just desugars `impl Trait` to a less (but still very) hacky version of actual `existential type` items. r? @nikomatsakis | ||||
| 2018-06-10 | Fix error codes | Guillaume Gomez | -4/+4 | |
| 2018-06-07 | Add existential type definitons | Oliver Schneider | -111/+211 | |
| 2018-05-26 | Rollup merge of #50987 - estebank:underline-multiple-suggestions, r=petrochencov | kennytm | -7/+3 | |
| Underline multiple suggested replacements in the same line <img width="685" alt="screen shot 2018-05-22 at 21 06 48" src="https://user-images.githubusercontent.com/1606434/40403051-174f3180-5e04-11e8-86b6-261630c5ff80.png"> Follow up to #50943. Fix #50977. | ||||
| 2018-05-24 | prohibit turbofish in `impl Trait` methods | Niko Matsakis | -0/+36 | |
| 2018-05-24 | Fix impl Trait suggestion | Esteban Küber | -6/+2 | |
| 2018-05-24 | Account for negative offsets in suggestions | Esteban Küber | -1/+1 | |
| When suggesting code that has a shorter span than the current code, account for this by keeping the offset as a signed value. | ||||
| 2018-05-22 | Prevent local paths into libstd from leaking into ui tests | Oliver Schneider | -1/+1 | |
| 2018-05-21 | Improve the diagnostic around impl Trait <-> generic param mismatch | Oliver Schneider | -6/+18 | |
| 2018-05-21 | Move a test to ui tests so we can observe the output changes better | Oliver Schneider | -0/+74 | |
| 2018-05-21 | Typo caused the wrong "cannot find" error | Oliver Schneider | -11/+4 | |
| 2018-04-26 | Port existing callers of `evaluate_obligation` to the new canonical trait query | Aravind Gollakota | -0/+2 | |
| Except the one in coherence, which needs support for intercrate mode. | ||||
| 2018-04-21 | Make the unstable StrExt and SliceExt traits private to libcore in not(stage0) | Simon Sapin | -3/+1 | |
| `Float` still needs to be public for libcore unit tests. | ||||
| 2018-04-16 | Update tests | John Kåre Alsaker | -15/+10 | |
| 2018-04-05 | Auto merge of #48709 - tinaun:issue48703, r=nikomatsakis | bors | -0/+28 | |
| remove erroneous error message when checking impl trait params fixes #48703 | ||||
| 2018-03-28 | added test | tinaun | -0/+28 | |
| 2018-03-26 | Stabilize conservative_impl_trait | Taylor Cramer | -20/+15 | |
| 2018-03-26 | Stabilize universal_impl_trait | Taylor Cramer | -11/+5 | |
| 2018-03-25 | Rollup merge of #49046 - Zoxc:error-summary, r=michaelwoerister | kennytm | -1/+3 | |
| Always print `aborting due to n previous error(s)` r? @michaelwoerister | ||||
| 2018-03-21 | use subtyping when we create a closure instead of for upvar types | Niko Matsakis | -0/+31 | |
| We used to make the upvar types in the closure `==` but that was stronger than we needed. Subtyping suffices, since we are copying the upvar value into the closure field. This in turn allows us to infer smaller lifetimes in captured values in some cases (like the example here), avoiding errors. | ||||
| 2018-03-21 | report an error if we see an unexpected lifetime in impl Trait | Niko Matsakis | -0/+89 | |
| But leave closure substs alone. | ||||
| 2018-03-16 | Update tests | John Kåre Alsaker | -1/+3 | |
| 2018-03-14 | update tests | Guillaume Gomez | -14/+12 | |
| 2018-02-26 | Update UI tests | Vadim Petrochenkov | -14/+14 | |
| 2018-02-26 | Update UI tests | Vadim Petrochenkov | -67/+67 | |
| 2018-02-25 | Update ui tests | Guillaume Gomez | -0/+14 | |
| 2018-02-10 | Change error message for E0391 to "cyclic dependency detected" | John Kåre Alsaker | -2/+2 | |
| 2018-02-07 | Rollup merge of #47613 - estebank:rustc_on_unimplemented, r=nikomatsakis | Manish Goregaokar | -2/+2 | |
| Add filtering options to `rustc_on_unimplemented` - Add filtering options to `rustc_on_unimplemented` for local traits, filtering on `Self` and type arguments. - Add a way to provide custom notes. - Tweak binops text. - Add filter to detect wether `Self` is local or belongs to another crate. - Add filter to `Iterator` diagnostic for `&str`. Partly addresses #44755 with a different syntax, as a first approach. Fixes #46216, fixes #37522, CC #34297, #46806. | ||||
| 2018-02-03 | Auto merge of #47791 - estebank:mismatched-trait-impl, r=nikomatsakis | bors | -2/+2 | |
| Tweak presentation on lifetime trait mismatch - On trait/impl method discrepancy, add label pointing at trait signature. - Point only at method definition when referring to named lifetimes on lifetime mismatch. - When the sub and sup expectations are the same, tweak the output to avoid repeated spans. Fix #30790, CC #18759. | ||||
| 2018-02-01 | Add filter to detect local crates for rustc_on_unimplemented | Esteban Küber | -1/+1 | |
| 2018-02-01 | Change rustc_on_unimplemented for Iterator and binops | Esteban Küber | -2/+10 | |
| 2018-02-01 | Add filtering options to `rustc_on_unimplemented` | Esteban Küber | -11/+3 | |
| - filter error on the evaluated value of `Self` - filter error on the evaluated value of the type arguments - add argument to include custom note in diagnostic - allow the parser to parse `Self` when processing attributes - add custom message to binops | ||||
| 2018-01-28 | Point only at method signatures and point at trait | Esteban Küber | -2/+2 | |
| - On mismatch between impl and trait method, point at the trait signature. - Point only at the method signature instead of the whole body on trait/impl mismatch errors. | ||||
| 2018-01-27 | Make `+` in `impl/dyn Trait` non-associative | Vadim Petrochenkov | -0/+127 | |
| 2018-01-22 | Do not suggest private traits that have missing method | Esteban Küber | -8/+4 | |
| When encountering a method call for an ADT that doesn't have any implementation of it, we search for traits that could be implemented that do have that method. Filter out private non-local traits that would not be able to be implemented. This doesn't account for public traits that are in a private scope, but works as a first approximation and is a more correct behavior than the current one. | ||||
| 2018-01-15 | On E0283, point at method with the requirements | Esteban Küber | -2/+10 | |
| On required type annotation diagnostic error, point at method with the requirements if the span is available. | ||||
| 2017-12-19 | Point at def span in "missing in impl" error | Esteban Küber | -1/+1 | |
| 2017-12-14 | Remove NOTE/HELP annotations from UI tests | Vadim Petrochenkov | -113/+77 | |
| 2017-11-27 | Make main span in impl-trait ciclic reference point to def_span | Esteban Küber | -8/+2 | |
| 2017-11-26 | Make impl-trait ciclical reference error point to def_span | Esteban Küber | -16/+4 | |
| 2017-11-26 | Move "auto trait leak" impl-trait cycle dependency test to ui | Esteban Küber | -0/+139 | |
| 2017-11-24 | Merge cfail and ui tests into ui tests | Oliver Schneider | -154/+129 | |
| 2017-11-23 | Auto merge of #46024 - estebank:no-variant, r=petrochenkov | bors | -0/+15 | |
| Use the proper term when using non-existing variant When using a non-existing variant, function or associated item, refer to the proper term, instead of defaulting to "associated item" in diagnostics. Fix #28972. ``` error[E0599]: no variant named `Quux` found for type `Foo` in the current scope --> file.rs:7:9 | 7 | Foo::Quux(..) =>(), | ^^^^^^^^^^^^^ ``` | ||||
| 2017-11-20 | Add structured suggestions for trait imports | Oliver Schneider | -18/+36 | |
| 2017-11-16 | Use local spans only | Esteban Küber | -136/+57 | |
| 2017-11-16 | Remove left over dead code from suggestion diagnostic refactoring | Oliver Schneider | -2/+0 | |
| 2017-11-15 | Point to ADT definition when not finding variant, method, assoc type | Esteban Küber | -56/+150 | |
| 2017-11-15 | add a new test featuring two impl traits to show what it looks like | Niko Matsakis | -0/+32 | |
