| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-03-15 | More precise spans for HIR paths | Vadim Petrochenkov | -1/+1 | |
| 2021-02-03 | Miscellaneous small diagnostics cleanup | Camelid | -1/+1 | |
| 2020-12-31 | FIx ICE on wf check for foreign fns | Yuki Okushi | -0/+41 | |
| 2020-10-20 | review comments | Esteban Küber | -10/+10 | |
| 2020-10-20 | Tweak "object unsafe" errors | Esteban Küber | -45/+64 | |
| Fix #77598. | ||||
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -120/+120 | |
| 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-07-27 | mv std libs to library/ | mark | -1/+1 | |
| 2020-07-25 | Use the proper span when WF-checking an impl self type | Aaron Hill | -0/+23 | |
| 2020-07-20 | wf: check foreign fn decls for well-formedness | David Wood | -0/+36 | |
| This commit extends current well-formedness checking to apply to foreign function declarations, re-using the existing machinery for regular functions. In doing this, later parts of the compiler (such as the `improper_ctypes` lint) can rely on being operations not failing as a result of invalid code which would normally be caught earlier. Signed-off-by: David Wood <david@davidtw.co> | ||||
| 2020-07-14 | Remove `Sized` `on_unimplemented` note | Esteban Küber | -2/+0 | |
| 2020-07-14 | Suggest boxing or borrowing unsized fields | Esteban Küber | -18/+18 | |
| 2020-06-16 | Provide `help` when `T: ?Sized` can't be suggested | Esteban Küber | -0/+7 | |
| 2020-05-30 | Tweak type parameter errors to reduce verbosity | Esteban Küber | -47/+7 | |
| 2020-05-12 | Increase verbosity of bound restriction suggestions | Esteban Küber | -22/+42 | |
| - Make the bound restriction suggestion `span_suggestion_verbose`. - Fix whitespace typo. | ||||
| 2020-04-08 | Small tweaks to required bound span | Esteban Küber | -28/+28 | |
| 2020-04-08 | Use `PredicateObligation`s instead of `Predicate`s | Esteban Küber | -28/+33 | |
| Keep more information about trait binding failures. | ||||
| 2020-03-29 | Tweak `suggest_constraining_type_param` | Esteban Küber | -72/+54 | |
| Some of the bound restriction structured suggestions were incorrect while others had subpar output. | ||||
| 2020-03-06 | fix various typos | Matthias Krüger | -1/+1 | |
| 2020-02-19 | Tweak binding lifetime suggestion text | Esteban Küber | -6/+6 | |
| We already have a structured suggestion, but the wording made it seem like that wasn't the case. Fix #65286. r? @varkor | ||||
| 2020-02-09 | Improve reporting errors and suggestions for trait bounds | Patryk Wychowaniec | -50/+118 | |
| 2020-02-02 | Use more appropriate spans on object unsafe traits and provide structured ↵ | Esteban Küber | -1/+1 | |
| suggestions when possible | ||||
| 2020-02-02 | Wording changes to object unsafe trait errors | Esteban Küber | -10/+30 | |
| Stemming from the thread at https://twitter.com/indygreg/status/1223279056398929920 | ||||
| 2020-02-02 | Slight rewording of diagnostic message | Esteban Küber | -9/+9 | |
| 2020-02-02 | Use more accurate failed predicate spans | Esteban Küber | -93/+77 | |
| 2020-02-02 | Tweak `Self: Sized` restriction diagnostic output | Esteban Küber | -8/+0 | |
| 2020-02-02 | Point at `Sized` bound | Esteban Küber | -0/+24 | |
| 2020-02-02 | Point at arguments or output when fn obligations come from them, or ident ↵ | Esteban Küber | -103/+72 | |
| when they don't | ||||
| 2020-01-05 | Add backticks to various diagnostics | varkor | -1/+1 | |
| 2019-11-21 | Auto merge of #66389 - estebank:type-err-labels, r=petrochenkov | bors | -2/+2 | |
| Specific labels when referring to "expected" and "found" types | ||||
| 2019-11-18 | Specific labels when referring to "expected" and "found" types | Esteban Küber | -2/+2 | |
| 2019-10-27 | update tests | Mark Mansi | -0/+12 | |
| 2019-10-23 | Auto merge of #57545 - bovinebuddha:object_safe_for_dispatch, r=nikomatsakis | bors | -0/+169 | |
| Object safe for dispatch cc #43561 | ||||
| 2019-10-22 | RFC 2027: "first draft" of implementation | Mathias Blikstad | -0/+169 | |
| These are a squashed series of commits. | ||||
| 2019-10-15 | Deduplicate some code and apply review comments | Esteban Küber | -4/+5 | |
| 2019-10-15 | Handle `Self` restriction needed | Esteban Küber | -18/+24 | |
| 2019-10-15 | Handle more cases | Esteban Küber | -38/+44 | |
| 2019-10-15 | Use structured suggestion for restricting bounds | Esteban Küber | -4/+4 | |
| When a trait bound is not met and restricting a type parameter would make the restriction hold, use a structured suggestion pointing at an appropriate place (type param in param list or `where` clause). Account for opaque parameters where instead of suggesting extending the `where` clause, we suggest appending the new restriction: `fn foo(impl Trait + UnmetTrait)`. | ||||
| 2019-10-14 | Rollup merge of #65395 - JohnTitor:add-tests, r=Centril | Mazdak Farrokhzad | -0/+21 | |
| Add some tests for fixed ICEs Fixes #44153 (from 1.23.0) Fixes #47486 (from 1.36.0) Fixes #48010 (from 1.38.0) Fixes #48027 (from nightly) Fixes #48638 (from nightly) | ||||
| 2019-10-14 | Add test for issue-48638 | Yuki Okushi | -0/+21 | |
| 2019-10-11 | Print lifetimes with backticks | Yuki Okushi | -10/+10 | |
| 2019-10-07 | update ui tests | Guillaume Gomez | -1/+1 | |
| 2019-09-12 | update ui tests | Guillaume Gomez | -1/+2 | |
| 2019-09-02 | account for DUMMY_SP and correct wording | Esteban Küber | -1/+1 | |
| 2019-09-02 | On object safety violation, point at source when possible | Esteban Küber | -2/+3 | |
| 2019-08-31 | Use span label instead of note for cause in E0631 | Esteban Küber | -135/+81 | |
| 2019-05-29 | Update ui test suite to use dyn | memoryruins | -16/+16 | |
| 2019-05-12 | Change compare mode to use -Zborrowck=mir | Matthew Jasper | -0/+65 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -1/+0 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -152/+41 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -3/+2 | |
