| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -885/+0 | |
| 2022-12-28 | Use verbose suggestions for mutability errors | Esteban Küber | -4/+10 | |
| 2022-06-16 | diagnostics: fix trailing space | klensy | -1/+1 | |
| 2022-05-12 | Add tests. | Camille GILLOT | -0/+163 | |
| 2021-11-20 | Do not mention associated items when they introduce an obligation | Esteban Kuber | -6/+0 | |
| 2021-10-03 | Practice diagnostic message convention | Hirochika Matsumoto | -36/+36 | |
| 2021-09-16 | Point at call span that introduced obligation for the arg | Esteban Kuber | -2/+6 | |
| 2021-09-13 | Auto merge of #87915 - estebank:fancy-spans, r=oli-obk | bors | -1/+1 | |
| Use smaller spans for some structured suggestions Use more accurate suggestion spans for * argument parse error * fully qualified path * missing code block type * numeric casts | ||||
| 2021-08-16 | Use note to point at bound introducing requirement | Esteban Küber | -2/+5 | |
| 2021-08-12 | Use smaller spans for some structured suggestions | Esteban Kuber | -1/+1 | |
| Use more accurate suggestion spans for * argument parse error * fully qualified path * missing code block type * numeric casts * E0212 | ||||
| 2021-08-11 | Modify structured suggestion output | Esteban Küber | -3/+4 | |
| * On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span | ||||
| 2021-07-19 | Various diagnostics clean ups/tweaks | Esteban Küber | -3/+6 | |
| * Always point at macros, including derive macros * Point at non-local items that introduce a trait requirement * On private associated item, point at definition | ||||
| 2020-09-29 | Say "doesn't" instead of "wouldn't" in convert message | Camelid | -1/+1 | |
| 2020-09-29 | Add article after "to" | Camelid | -1/+1 | |
| Also added missing backtick in "you can cast" message. | ||||
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -18/+18 | |
| 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-14 | Remove `Sized` `on_unimplemented` note | Esteban Küber | -1/+0 | |
| 2020-04-11 | rustc: Add a warning count upon completion | RoccoDev | -0/+10 | |
| 2020-04-08 | Small tweaks to required bound span | Esteban Küber | -1/+1 | |
| 2020-02-28 | keep predicate order and tweak output | Esteban Küber | -3/+5 | |
| 2020-02-28 | Tweak wording | Esteban Küber | -1/+1 | |
| 2020-02-28 | Mention the full path of the implementing trait | Esteban Küber | -1/+1 | |
| 2020-02-28 | On single local candidate, use span label | Esteban Küber | -2/+3 | |
| 2020-01-31 | Auto merge of #68080 - varkor:declared-here, r=petrochenkov | bors | -1/+1 | |
| Address inconsistency in using "is" with "declared here" "is" was generally used for NLL diagnostics, but not other diagnostics. Using "is" makes the diagnostics sound more natural and readable, so it seems sensible to commit to them throughout. r? @Centril | ||||
| 2020-01-25 | Don't use spaces before type ascription like colons | Oliver Scherer | -3/+3 | |
| 2020-01-24 | Normalise notes with the/is | varkor | -1/+1 | |
| 2020-01-13 | Add "--emit=link" | Aaron Hill | -1/+1 | |
| This avoids a strange linker error that we get with only "--emit=mir" and "check-pass" | ||||
| 2020-01-13 | Convert test to check-pass | Aaron Hill | -4/+2 | |
| 2020-01-13 | Don't run const propagation on items with inconsistent bounds | Aaron Hill | -0/+6 | |
| Using `#![feature(trivial_bounds)]`, it's possible to write functions with unsatisfiable 'where' clauses, making them uncallable. However, the user can act as if these 'where' clauses are true inside the body of the function, leading to code that would normally be impossible to write. Since const propgation can run even without any user-written calls to a function, we need to explcitly check for these uncallable functions. | ||||
| 2019-11-18 | Surround types with backticks in type errors | Esteban Küber | -1/+1 | |
| 2019-11-10 | Make error and warning annotations mandatory in UI tests | Tomasz Miąsko | -35/+47 | |
| This change makes error and warning annotations mandatory in UI tests. The only exception are tests that use error patterns to match compiler output and don't have any annotations. | ||||
| 2019-10-28 | Use structured suggestion for unnecessary bounds in type aliases | Esteban Küber | -1/+4 | |
| 2019-10-24 | Increase spacing for suggestions in diagnostics | Esteban Küber | -0/+1 | |
| Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages. | ||||
| 2019-09-22 | On obligation errors point at the unfulfilled binding when possible | Esteban Küber | -1/+1 | |
| 2019-09-19 | When possible point at argument causing item obligation failure | Esteban Küber | -4/+4 | |
| 2019-09-08 | Give method not found a primary span label | Esteban Küber | -1/+1 | |
| 2019-08-31 | Use span label instead of note for cause in E0631 | Esteban Küber | -11/+5 | |
| 2019-07-17 | normalize use of backticks in compiler messages for librustc/lint | Samy Kacimi | -6/+6 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-06-03 | Update tests for changes to cannot move errors | Matthew Jasper | -2/+2 | |
| 2019-05-29 | Update ui test suite to use dyn | memoryruins | -10/+10 | |
| 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 | Remove double trailing newlines | varkor | -1/+0 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -26/+7 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -1/+1 | |
| 2019-03-11 | Update NLL tests | Vadim Petrochenkov | -2/+2 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -13/+13 | |
| 2019-01-01 | Fix broken links to second edition TRPL. | Corey Farwell | -1/+1 | |
| Fixes https://github.com/rust-lang/rust/issues/57104. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -170/+50 | |
| 2018-10-29 | Don't emit cannot move errors twice in migrate mode | Matthew Jasper | -20/+0 | |
| 2018-10-17 | Update output for borrowck=migrate compare mode. | David Wood | -0/+20 | |
| This commit updates the test output for the updated NLL compare mode that uses `-Z borrowck=migrate` rather than `-Z borrowck=mir`. The previous commit changes `compiletest` and this commit only updates `.nll.stderr` files. | ||||
