| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-08-03 | Move special treatment of `derive(Copy, PartialEq, Eq)` from expansion ↵ | Vadim Petrochenkov | -1/+28 | |
| infrastructure to elsewhere | ||||
| 2019-07-24 | Rollup merge of #62772 - estebank:trait-bound, r=matthewjasper | Mazdak Farrokhzad | -3/+5 | |
| Suggest trait bound on type parameter when it is unconstrained Given ``` trait Foo { fn method(&self) {} } fn call_method<T>(x: &T) { x.method() } ``` suggest constraining `T` with `Foo`. Fix #21673, fix #41030. | ||||
| 2019-07-19 | Auto merge of #62684 - petrochenkov:scopevisit, r=davidtwco | bors | -23/+6 | |
| resolve: Improve candidate search for unresolved macro suggestions Use same scope visiting machinery for both collecting suggestion candidates and actually resolving the names. The PR is better read in per-commit fashion with whitespace changes ignored (the first commit in particular moves some code around). This should be the last pre-requisite for https://github.com/rust-lang/rust/pull/62086. r? @davidtwco | ||||
| 2019-07-18 | Suggest trait bound on type parameter when it is unconstrained | Esteban Küber | -3/+5 | |
| Given ``` mented on Jan 26, 2015 • trait Foo { fn method(&self) {} } fn call_method<T>(x: &T) { x.method() } ``` suggest constraining `T` with `Foo`. | ||||
| 2019-07-18 | Rollup merge of #62764 - ↵ | Mark Rousskov | -5/+5 | |
| fakenine:normalize_use_of_backticks_compiler_messages_p7, r=alexreg normalize use of backticks in compiler messages for librustc/lint https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-18 | resolve: Use `feature(custom_attribute)` fallback only if the feature is enabled | Vadim Petrochenkov | -23/+6 | |
| Normally `#![feature(...)]` shouldn't change behavior, but custom attributes in particular are in the process of retirement, and we should not produce a message telling to enable them. It also helps with unifying diagnostics for unresolved macros. | ||||
| 2019-07-17 | normalize use of backticks in compiler messages for librustc/lint | Samy Kacimi | -5/+5 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-16 | Update the help message on error for self type | Limira | -1/+1 | |
| 2019-07-11 | Remove feature gate `dropck_parametricity` completely | Lzu Tao | -11/+8 | |
| Therefore we also remove `#[unsafe_destructor_blind_to_params]` attribute completly. | ||||
| 2019-07-11 | Replace unsafe_destructor_blind_to_params with may_dangle | Lzu Tao | -5/+5 | |
| 2019-07-09 | normalize use of backticks in compiler messages for libsyntax/feature_gate | Samy Kacimi | -4/+4 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-07-03 | Migrate compile-pass annotations to build-pass | Yuki Okushi | -3/+3 | |
| 2019-06-03 | Update tests for changes to cannot move errors | Matthew Jasper | -3/+3 | |
| 2019-06-03 | Auto merge of #61331 - estebank:fn-arg-parse-recovery, r=varkor | bors | -0/+20 | |
| Recover gracefully from argument with missing type or param name | ||||
| 2019-06-01 | review comment: tweak wording | Esteban Küber | -3/+3 | |
| 2019-05-31 | Tweak wording | Esteban Küber | -1/+1 | |
| 2019-05-31 | Alternative wording for inference failure | Esteban Küber | -3/+3 | |
| 2019-05-31 | Add more detail to type inference error | Esteban Küber | -2/+2 | |
| When encountering code where type inference fails, add more actionable information: ``` fn main() { let foo = Vec::new(); } ``` ``` error[E0282]: type annotations needed for `std::vec::Vec<_>` --> $DIR/vector-no-ann.rs:2:16 | LL | let foo = Vec::new(); | --- ^^^^^^^^ cannot infer type for `T` | | | consider giving `foo` the type `std::vec::Vec<_>` with the type parameter `T` specified ``` We still need to modify type printing to optionally accept a `TypeVariableTable` in order to properly print `std::vec::Vec<T>`. CC #25633. | ||||
| 2019-05-30 | Recover gracefully from argument with missing type or param name | Esteban Küber | -0/+20 | |
| 2019-05-29 | Update ui test suite to use dyn | memoryruins | -22/+22 | |
| 2019-05-17 | Account for &String + String | Esteban Küber | -2/+2 | |
| 2019-05-16 | review comments | Esteban Küber | -10/+10 | |
| 2019-05-16 | Fix binop span | Esteban Küber | -12/+9 | |
| 2019-05-16 | Handle more string addition cases with appropriate suggestions | Esteban Küber | -2/+161 | |
| 2019-04-23 | Update ui tests | varkor | -9/+9 | |
| 2019-04-23 | Remove unnecessary ignore-tidy-linelength | varkor | -4/+0 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -2/+0 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -1725/+533 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -13/+10 | |
| 2019-04-11 | Reword tracking issue note | Esteban Küber | -4/+4 | |
| 2019-04-10 | Tweak unstable diagnostic output | Esteban Küber | -4/+8 | |
| 2019-04-05 | Fix expectations on some ui tests involving FnOnce. | Masaki Hara | -4/+4 | |
| 2019-03-29 | Rollup merge of #59473 - estebank:borrow-sugg-inside-macro, r=davidtwco | Mazdak Farrokhzad | -4/+1 | |
| Do not emit incorrect borrow suggestion involving macros and fix overlapping multiline spans Fix #58298. | ||||
| 2019-03-29 | Rollup merge of #59467 - hgallagher1993:local_branch, r=estebank | Mazdak Farrokhzad | -6/+15 | |
| Better diagnostic for binary operation on BoxedValues Fixes #59458 | ||||
| 2019-03-28 | Add check for when left and right overlap and change span for explanation to ↵ | hgallagher1993 | -4/+3 | |
| point at operator | ||||
| 2019-03-27 | Do not suggest borrowing when the span comes from a macro | Esteban Küber | -4/+1 | |
| 2019-03-27 | Better diagnostic for binary operation on BoxedValues | hgallagher1993 | -6/+16 | |
| 2019-03-25 | When moving out of a for loop head, suggest borrowing it in nll mode | Esteban Küber | -1/+0 | |
| 2019-03-11 | Update NLL tests | Vadim Petrochenkov | -37/+37 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -113/+113 | |
| 2019-02-20 | Fix erroneous loop diagnostic in nll | Santiago Pastorino | -5/+5 | |
| This commit fixes the logic of detecting when a use happen in a later iteration of where a borrow was defined Fixes #53773 | ||||
| 2019-02-11 | Use hidden suggestions for unused imports lint | Esteban Küber | -4/+0 | |
| 2019-02-08 | unused_imports: update tests | Pietro Albini | -0/+4 | |
| 2019-01-28 | Unused variable suggestions on all patterns. | David Wood | -1/+1 | |
| This commit extends existing suggestions to prefix unused variable bindings in match arms with an underscore so that it applies to all patterns in a match arm. | ||||
| 2019-01-19 | Suggest usage of angle brackets | Esteban Küber | -4/+4 | |
| 2019-01-14 | Rollup merge of #57477 - euclio:clarify-lev-suggestion, r=zackmdavis | Mazdak Farrokhzad | -2/+2 | |
| clarify resolve typo suggestion Include the kind of the binding that we're suggesting, and use a structured suggestion. Fixes #53445. | ||||
| 2019-01-09 | clarify resolve typo suggestion | Andy Russell | -2/+2 | |
| Include the kind of the binding that we're suggesting, and use a structured suggestion. | ||||
| 2019-01-08 | improve non_snake_case diagnostics | Andy Russell | -4/+4 | |
| Use a structured suggestion and tighten the span to just the identifier. | ||||
| 2019-01-06 | Make sure feature gate errors are recoverable (take 2) | Vadim Petrochenkov | -3/+3 | |
| 2018-12-30 | Remove unused nll debug flags | Matthew Jasper | -14/+9 | |
