| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-01-13 | Update tests for extern block linting | Mark Rousskov | -6/+6 | |
| 2020-10-15 | ensure arguments are included in count mismatch span | Andy Russell | -6/+12 | |
| 2020-10-15 | fix off-by-one in parameter spans | Andy Russell | -1/+1 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -17/+17 | |
| 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-06-04 | test: ui: skip tests which aren't appropriate for RISC-V | Tom Eccles | -11/+12 | |
| 2020-05-22 | Update tests | Matthew Jasper | -322/+102 | |
| 2020-04-22 | Tweak wording | Esteban Küber | -1/+1 | |
| 2020-04-22 | Tweak `'static` suggestion code | Esteban Küber | -1/+5 | |
| Fix #71196. | ||||
| 2020-02-11 | On mismatched argument count point at arguments | Esteban Küber | -6/+10 | |
| 2020-01-12 | Get rid of RegionErrorNamingContext | Mark Mansi | -2/+2 | |
| 2019-12-12 | More c-variadic errors as semantic restrictions. | Mazdak Farrokhzad | -2/+2 | |
| 2019-12-03 | Include a span in more `expected...found` notes | Aaron Hill | -3/+7 | |
| In most places, we use a span when emitting `expected...found` errors. However, there were a couple of places where we didn't use any span, resulting in hard-to-interpret error messages. This commit attaches the relevant span to these notes, and additionally switches over to using `note_expected_found` instead of manually formatting the message | ||||
| 2019-11-25 | Auto merge of #66682 - estebank:fn-type-err, r=davidtwco | bors | -4/+4 | |
| Highlight parts of fn in type errors When a type error arises between two fn items, fn pointers or tuples, highlight only the differing parts of each. Examples: <img width="699" alt="" src="https://user-images.githubusercontent.com/1606434/69487597-ab561600-0e11-11ea-9b4e-d4fd9e91d5dc.png"> <img width="528" alt="" src="https://user-images.githubusercontent.com/1606434/69487207-9033d800-0e0a-11ea-93e3-8c4d002411a5.png"> <img width="468" alt="" src="https://user-images.githubusercontent.com/1606434/69487208-9033d800-0e0a-11ea-92e3-2b2cee120335.png"> <img width="775" alt="" src="https://user-images.githubusercontent.com/1606434/69487209-9033d800-0e0a-11ea-9e68-7f6ed5c8cb08.png"> | ||||
| 2019-11-23 | Highlight parts of fn in type errors | Esteban Küber | -4/+4 | |
| When a type error arises between two fn items, fn pointers or tuples, highlight only the differing parts of each. | ||||
| 2019-11-21 | Point at type in `let` assignment on type errors | Esteban Küber | -2/+6 | |
| 2019-11-18 | Specific labels when referring to "expected" and "found" types | Esteban Küber | -14/+14 | |
| 2019-10-11 | Print lifetimes with backticks | Yuki Okushi | -1/+1 | |
| 2019-10-07 | update ui tests | Guillaume Gomez | -1/+2 | |
| 2019-09-28 | rustc: rely on c_variadic == true instead of CVarArgs in HIR/Ty fn signatures. | Eduard-Mihai Burtescu | -154/+100 | |
| 2019-09-28 | rustc: don't store a lifetime in hir::TyKind::CVarArgs. | Eduard-Mihai Burtescu | -8/+8 | |
| 2019-09-12 | update tests | Mark Mansi | -9/+9 | |
| 2019-08-12 | syntax: account for CVarArgs being in the argument list. | Eduard-Mihai Burtescu | -0/+14 | |
| 2019-07-14 | Make VaListImpl<'f> invariant over the 'f lifetime | Andrei Homescu | -44/+116 | |
| 2019-06-17 | Expose `VaListImpl` as the Rust equivalent of `__va_list_tag` and implement ↵ | Andrei Homescu | -56/+97 | |
| Clone for it. | ||||
| 2019-05-12 | Remove feature(nll) when compare mode is sufficient | Matthew Jasper | -104/+0 | |
| 2019-05-12 | Change compare mode to use -Zborrowck=mir | Matthew Jasper | -0/+81 | |
| 2019-04-22 | review comments: deduplicate tests | Esteban Küber | -105/+0 | |
| 2019-04-22 | Continue evaluating after item-type checking | Esteban Küber | -14/+85 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -3/+3 | |
| 2019-03-22 | ffi: rename VaList::copy to VaList::with_copy | Dan Robertson | -19/+19 | |
| Rename `VaList::copy` to `VaList::with_copy`. | ||||
| 2019-03-11 | Update tests | Vadim Petrochenkov | -55/+55 | |
| 2019-02-27 | Rename variadic to c_variadic | Dan Robertson | -4/+4 | |
| Function signatures with the `variadic` member set are actually C-variadic functions. Make this a little more explicit by renaming the `variadic` boolean value, `c_variadic`. | ||||
| 2019-02-27 | Add c_variadic language feature item | Dan Robertson | -0/+1 | |
| 2019-02-27 | Support defining C compatible variadic functions | Dan Robertson | -0/+516 | |
| Add support for defining C compatible variadic functions in unsafe rust with extern "C". | ||||
