| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-11-16 | Add two regression tests | Alex Macleod | -0/+90 | |
| For #78721 and #78722 | ||||
| 2020-10-27 | Rollup merge of #78349 - JohnTitor:issue-75962, r=davidtwco | Yuki Okushi | -1/+15 | |
| Use its own `TypeckResults` to avoid ICE Fixes #75962 | ||||
| 2020-10-25 | Use its own `TypeckResults` to avoid ICE | Yuki Okushi | -1/+15 | |
| 2020-10-25 | Auto merge of #77546 - lcnr:impl-trait-closure, r=eddyb | bors | -0/+21 | |
| fix def collector for impl trait fixes #77329 We now consistently make `impl Trait` a hir owner, requiring some special casing for synthetic generic params. r? `@eddyb` | ||||
| 2020-10-20 | review comments | Esteban Küber | -2/+2 | |
| 2020-10-20 | Tweak "object unsafe" errors | Esteban Küber | -10/+22 | |
| Fix #77598. | ||||
| 2020-10-18 | Add test for issue-70877 | Yuki Okushi | -0/+53 | |
| 2020-10-17 | Suggest minimal subset features in `incomplete_features` lint | Yuki Okushi | -0/+3 | |
| 2020-10-09 | Add a regression test for issue-65581 | Yuki Okushi | -0/+33 | |
| 2020-10-07 | arg position | Bastian Kauschke | -0/+7 | |
| 2020-10-07 | do not lower patterns in impl Trait | Bastian Kauschke | -0/+14 | |
| 2020-10-06 | Update to chalk 0.31. Implement some unimplemented. Ignore some tests in ↵ | Jack Huey | -3/+6 | |
| compare mode chalk don't finish. | ||||
| 2020-10-06 | Fix tests from rebase | Matthew Jasper | -2/+0 | |
| 2020-10-06 | Fix bugs in evaluating WellFormed predicates | Matthew Jasper | -0/+39 | |
| - List the nestsed obligations in an order that works with the single pass used by evaluation - Propagate recursion depth correctly | ||||
| 2020-10-06 | Check opaque types satisfy their bounds | Matthew Jasper | -4/+0 | |
| 2020-09-30 | Auto merge of #77069 - sexxi-goose:closure_print_2, r=nikomatsakis | bors | -5/+5 | |
| pretty.rs: Update Closure and Generator print More detailed outline: https://github.com/rust-lang/project-rfc-2229/pull/17 Closes: https://github.com/rust-lang/project-rfc-2229/issues/11 r? `@nikomatsakis` cc `@eddyb` `@davidtwco` `@estebank` | ||||
| 2020-09-28 | pretty.rs: Update Closure and Generator print | Aman Arora | -5/+5 | |
| Co-authored-by: Dhruv Jauhar <dhruvjhr@gmail.com> Co-authored-by: Logan Mosier <logmosier@gmail.com> | ||||
| 2020-09-26 | Call `type_of` for opaque types later in compilation | Matthew Jasper | -39/+72 | |
| This ensures that various wf checks have already been done before we typeck item bodies. | ||||
| 2020-09-25 | Move from {{closure}}#0 syntax to {closure#0} for (def) path components | marmeladema | -3/+3 | |
| 2020-09-11 | Make suggestion more complete | Esteban Küber | -3/+9 | |
| 2020-09-11 | Make suggestion have a more targetted underline | Esteban Küber | -1/+1 | |
| 2020-09-11 | Use structured suggestion for `impl T` to `Box<dyn T>` | Esteban Küber | -1/+4 | |
| 2020-09-09 | Rollup merge of #75984 - kornelski:typeormodule, r=matthewjasper | Tyler Mandry | -4/+4 | |
| Improve unresolved use error message "use of undeclared type or module `foo`" doesn't mention that it could be a crate. This error can happen when users forget to add a dependency to `Cargo.toml`, so I think it's important to mention that it could be a missing crate. I've used a heuristic based on Rust's naming conventions. It complains about an unknown type if the ident starts with an upper-case letter, and crate or module otherwise. It seems to work very well. The expanded error help covers both an unknown type and a missing crate case. | ||||
| 2020-09-08 | make `ConstEvaluatable` more strict | Bastian Kauschke | -2/+1 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -122/+122 | |
| If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not. | ||||
| 2020-09-01 | Clarify message about unresolved use | Kornel | -4/+4 | |
| 2020-07-27 | mv std libs to library/ | mark | -1/+1 | |
| 2020-07-26 | Add test for issue-72911 | Yuki Okushi | -0/+56 | |
| 2020-07-22 | Further tweak wording of E0759 and introduce E0767 | Esteban Küber | -67/+55 | |
| 2020-07-14 | Remove `Sized` `on_unimplemented` note | Esteban Küber | -2/+0 | |
| 2020-06-24 | Rollup merge of #73646 - JohnTitor:add-tests, r=Dylan-DPC | Dylan DPC | -0/+16 | |
| Add some regression tests Closes #44861 Closes #51506 Closes #59435 Closes #69840 | ||||
| 2020-06-23 | Add test for issue-69840 | Yuki Okushi | -0/+16 | |
| 2020-06-23 | Rollup merge of #73496 - estebank:opaque-missing-lts-in-fn-3, r=nikomatsakis | Manish Goregaokar | -9/+56 | |
| Account for multiple impl/dyn Trait in return type when suggesting `'_` Make `impl` and `dyn` Trait lifetime suggestions a bit more resilient. Follow up to #72804. r? @nikomatsakis | ||||
| 2020-06-19 | Rollup merge of #71420 - RalfJung:specialization-incomplete, r=matthewjasper | Manish Goregaokar | -5/+34 | |
| Specialization is unsound As discussed in https://github.com/rust-lang/rust/issues/31844#issuecomment-617013949, it might be a good idea to warn users of specialization that the feature they are using is unsound. I also expanded the "incomplete feature" warning to link the user to the tracking issue. | ||||
| 2020-06-19 | Account for multiple impl/dyn Trait in return type when suggesting `'_` | Esteban Küber | -9/+56 | |
| 2020-06-19 | Rollup merge of #73382 - Aaron1011:fix/self-receiver-candidates, r=petrochenkov | Manish Goregaokar | -18/+0 | |
| Only display other method receiver candidates if they actually apply Previously, we would suggest `Box<Self>` as a valid receiver, even if method resolution only succeeded due to an autoderef (e.g. to `&self`) | ||||
| 2020-06-18 | Rollup merge of #72804 - estebank:opaque-missing-lts-in-fn-2, r=nikomatsakis | Manish Goregaokar | -42/+222 | |
| Further tweak lifetime errors involving `dyn Trait` and `impl Trait` in return position * Suggest substituting `'static` lifetime in impl/dyn `Trait + 'static` instead of `Trait + 'static + '_` * When `'static` is explicit, also suggest constraining argument with it * Reduce verbosity of suggestion message and mention lifetime in label * Tweak output for overlapping required/captured spans * Give these errors an error code Follow up to #72543. r? @nikomatsakis | ||||
| 2020-06-16 | warn against 'specialization' feature | Ralf Jung | -5/+34 | |
| 2020-06-15 | Only display other method receiver candidates if they actually apply | Aaron Hill | -18/+0 | |
| Previously, we would suggest `Box<Self>` as a valid receiver, even if method resolution only succeeded due to an autoderef (e.g. to `&self`) | ||||
| 2020-06-15 | review comments | Esteban Küber | -25/+25 | |
| 2020-06-15 | Expand "recursive opaque type" diagnostic | Esteban Küber | -99/+179 | |
| Fix #70968, partially address #66523. | ||||
| 2020-06-15 | Change E0758 to E0759 to avoid conflict with #72912 | Esteban Küber | -13/+13 | |
| 2020-06-15 | small tweaks | Esteban Küber | -5/+5 | |
| 2020-06-15 | Register new eror code | Esteban Küber | -1/+2 | |
| 2020-06-15 | Use note for requirement source span | Esteban Küber | -24/+48 | |
| 2020-06-15 | review comments: wording | Esteban Küber | -27/+27 | |
| 2020-06-15 | Tweak wording and add error code | Esteban Küber | -32/+32 | |
| 2020-06-15 | Tweak output for overlapping required/captured spans | Esteban Küber | -24/+4 | |
| 2020-06-15 | Move overlapping span to a note | Esteban Küber | -17/+27 | |
| 2020-06-15 | Reduce verbosity of suggestion message and mention lifetime in label | Esteban Küber | -22/+24 | |
