| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-08 | Rollup merge of #69422 - JohnTitor:remove-unwrap, r=Xanewok | Mazdak Farrokhzad | -0/+43 | |
| Remove use of `unwrap()` from save-analysis Fix #69409, fix #69416 | ||||
| 2020-02-28 | Do not suggest implementing traits if present in predicates | Esteban Küber | -3/+2 | |
| 2020-02-28 | Review comments: split requirement text to multiple lines for readability | Esteban Küber | -1/+2 | |
| 2020-02-28 | Show information of chain of bound obligations | Esteban Küber | -1/+1 | |
| When the obligation that couldn't be fulfilled is specific to a nested obligation, maintain both the nested and parent obligations around for more accurate and detailed error reporting. | ||||
| 2020-02-28 | Track all predicates in errors, not just trait obligations | Esteban Küber | -1/+3 | |
| Surface associated type projection bounds that could not be fulfilled in E0599 errors. Always present the list of unfulfilled trait bounds, regardless of whether we're pointing at the ADT or trait that didn't satisfy it. | ||||
| 2020-02-28 | Deduplicate information in E0599 | Esteban Küber | -3/+1 | |
| 2020-02-28 | Reduce vebosity of E0599 | Esteban Küber | -1/+0 | |
| 2020-02-28 | Add more context to E0599 errors | Esteban Küber | -2/+6 | |
| Point at the intermediary unfullfilled trait bounds. | ||||
| 2020-02-25 | Tweak tests | Yuki Okushi | -0/+43 | |
| 2020-02-11 | On mismatched argument count point at arguments | Esteban Küber | -14/+33 | |
| 2020-02-06 | rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. | Eduard-Mihai Burtescu | -2/+0 | |
| 2020-02-06 | rustc: rename -Zexternal-macro-backtrace to -Zmacro-backtrace. | Eduard-Mihai Burtescu | -1/+1 | |
| 2020-01-24 | Normalise notes with the/is | varkor | -2/+2 | |
| 2020-01-19 | When encountering an undefined named lifetime, point to where it can be | Esteban Küber | -0/+2 | |
| This doesn't mention that using an existing lifetime is possible, but that would hopefully be clear as always being an option. The intention of this is to teach newcomers what the lifetime syntax is. | ||||
| 2020-01-08 | Unify output of "variant not found" errors | Esteban Küber | -2/+2 | |
| 2019-12-20 | Rollup merge of #67127 - estebank:disambiguate-suggestion, r=varkor | Mazdak Farrokhzad | -13/+52 | |
| Use structured suggestion for disambiguating method calls Fix #65635. | ||||
| 2019-12-11 | review comments | Esteban Küber | -4/+4 | |
| 2019-12-11 | Use structured suggestion for disambiguating method calls | Esteban Küber | -13/+52 | |
| Fix #65635. | ||||
| 2019-12-11 | Add more context for type parameters | Esteban Küber | -1/+1 | |
| 2019-11-21 | Point at type in `let` assignment on type errors | Esteban Küber | -6/+18 | |
| 2019-11-18 | Surround types with backticks in type errors | Esteban Küber | -13/+13 | |
| 2019-11-18 | Remove E0308 note when primary label has all info | Esteban Küber | -21/+1 | |
| 2019-11-18 | review comments: tweak prefix strings | Esteban Küber | -10/+10 | |
| 2019-11-18 | Specific labels when referring to "expected" and "found" types | Esteban Küber | -8/+8 | |
| 2019-10-28 | Improve the "try using a variant of the expected type" hint. | Patryk Wychowaniec | -12/+12 | |
| 2019-10-27 | Point at local similarly named element and tweak references to variants | Esteban Küber | -15/+15 | |
| Point at the span for the definition of ADTs internal to the current crate. Look at the leading char of the ident to determine whether we're expecting a likely fn or any of a fn, a tuple struct or a tuple variant. Turn fn `add_typo_suggestion` into a `Resolver` method. | ||||
| 2019-10-24 | Increase spacing for suggestions in diagnostics | Esteban Küber | -0/+4 | |
| Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages. | ||||
| 2019-09-29 | Rollup merge of #64735 - GuillaumeGomez:long-err-explanation-E0533, r=Centril | Mazdak Farrokhzad | -1/+26 | |
| Add long error explanation for E0533 Part of https://github.com/rust-lang/rust/issues/61137 | ||||
| 2019-09-25 | Update ui tests | Guillaume Gomez | -1/+26 | |
| 2019-09-24 | Remove blanket silencing of "type annotation needed" errors | Esteban Küber | -1/+1 | |
| Remove blanket check for existence of other errors before emitting "type annotation needed" errors, and add some eager checks to avoid adding obligations when they refer to types that reference `[type error]` in order to reduce unneded errors. | ||||
| 2019-09-08 | Give method not found a primary span label | Esteban Küber | -1/+1 | |
| 2019-08-16 | Remove meaningless comments in src/test | sd234678 | -9/+0 | |
| 2019-07-27 | tests: Move run-pass tests without naming conflicts to ui | Vadim Petrochenkov | -0/+733 | |
| 2019-07-24 | Adjust tests for method disambiguation help | Ilija Tovilo | -0/+6 | |
| 2019-07-24 | Add method disambiguation help for trait implementation | Ilija Tovilo | -0/+76 | |
| Closes #51046 Closes #40471 | ||||
| 2019-07-03 | Migrate compile-pass annotations to build-pass | Yuki Okushi | -2/+2 | |
| 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 | On type inference errors use the type argument name when possible | Esteban Küber | -2/+2 | |
| ``` error[E0282]: type annotations needed in `std::result::Result<i32, E>` --> file7.rs:3:13 | 3 | let b = Ok(4); | - ^^ cannot infer type for `E` in `std::result::Result<i32, E>` | | | consider giving `b` a type` ``` | ||||
| 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 | -3/+3 | |
| 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-29 | Update ui test suite to use dyn | memoryruins | -2/+2 | |
| 2019-05-03 | Reword casting message | Esteban Küber | -1/+1 | |
| 2019-04-29 | Suggest try_into when possible | Esteban Küber | -0/+4 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -35/+9 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -6/+5 | |
| 2019-03-11 | Update NLL tests | Vadim Petrochenkov | -2/+2 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -23/+23 | |
| 2019-01-29 | add tests to a few edge cases in method lookup | Ariel Ben-Yehuda | -0/+290 | |
| These aren't fixed by this PR, but were broken in a few older attempts at it. Make sure they don't regress. | ||||
| 2019-01-06 | Auto merge of #57291 - euclio:method-call-suggestion, r=estebank | bors | -6/+2 | |
| use structured suggestion for method calls Furthermore, don't suggest calling the method if it is part of a place expression, as this is invalid syntax. I'm thinking it might be worth putting a label on the method assignment span like "this is a method" and removing the span from the "methods are immutable" text so it isn't reported twice. The suggestions in `src/test/ui/did_you_mean/issue-40396.stderr` are suboptimal. I could check if the containing expression is `BinOp`, but I'm not sure if that's general enough. Any ideas? r? @estebank | ||||
