| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-01-16 | Move some tests to more reasonable directories - 2 | Caio | -0/+103 | |
| Address comments Update limits | ||||
| 2020-12-29 | Remove `compile-fail` test suite | Vadim Petrochenkov | -1/+1 | |
| 2020-12-26 | update tests | Bastian Kauschke | -33/+31 | |
| 2020-11-12 | check `Drop` specialization of const params | Bastian Kauschke | -28/+61 | |
| 2020-11-12 | move dropck tests from ui -> ui/dropck | Bastian Kauschke | -0/+255 | |
| 2020-10-16 | stabilize union with 'ManuallyDrop' fields and 'impl Drop for Union' | Ralf Jung | -3/+1 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -6/+6 | |
| 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-05-28 | standardize limit comparisons with `Limit` type | David Wood | -7/+7 | |
| This commit introduces a `Limit` type which is used to ensure that all comparisons against limits within the compiler are consistent (which can result in ICEs if they aren't). Signed-off-by: David Wood <david@davidtw.co> | ||||
| 2020-01-03 | clarify that `Drop` can be implemented for enums and unions too | Andy Russell | -5/+16 | |
| 2019-12-05 | Add regression tests | Tommaso Bianchi | -0/+88 | |
| 2019-10-28 | Talk about specific types and remove lifetimes from output | Esteban Küber | -1/+1 | |
| 2019-10-28 | Use more targeted spans for orphan rule errors | Esteban Küber | -2/+4 | |
| 2019-10-28 | Call out the types that are non local on E0117 | Esteban Küber | -1/+1 | |
| 2019-10-02 | Calculate liveness for the same locals with and without -Zpolonius | Matthew Jasper | -78/+0 | |
| This fixes some test differences and also avoids overflow in issue-38591.rs. | ||||
| 2019-09-17 | Update expectations of test ui/dropck/dropck_trait_cycle_checked.rs for Polonius | lqd | -4/+8 | |
| as its output was changed by https://github.com/rust-lang/rust/commit/2ff337a8e286a5b472f71b3bbdc3d4b6b840870f#diff-bd3f80b956148a5d1567aa8698b8a507 | ||||
| 2019-08-16 | rustc_mir: use the right type for associated const literals. | Eduard-Mihai Burtescu | -5/+5 | |
| 2019-07-22 | Bless output of test dropck/dropck_trait_cycle_checked.rs for Polonius | lqd | -0/+74 | |
| 2019-07-07 | Raise the default recursion limit to 128 | Simonas Kazlauskas | -7/+7 | |
| 2019-05-29 | Update ui test suite to use dyn | memoryruins | -20/+20 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -567/+329 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -4/+1 | |
| 2019-03-11 | Update NLL tests | Vadim Petrochenkov | -10/+10 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -15/+15 | |
| 2019-01-08 | Improve the wording | Yuki Okushi | -1/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -131/+31 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-11-05 | Use `// revisions` in the dropck-eyepatch tests instead of relying on ↵ | Felix S. Klock II | -51/+60 | |
| compare-mode=nll. NLL has increased precision in its analysis of drop order, and we want the test annotations to deliberately reflect this by having fewer ERROR annotations for NLL than for AST-borrowck. The best way to get this effect is via `// revisions`. As a drive-by, also added uses of all the borrows just to make it clear that NLL isn't somehow sidestepping things by using shorter borrows than you might have otherwise expected. (Of course, the added uses do not make all that much difference since the relevant types all declare `impl Drop` and thus those drops have implicit uses anyway.) | ||||
| 2018-10-21 | Use new region infer errors for explaining borrows | Matthew Jasper | -24/+23 | |
| This gives at least some explanation for why a borrow is expected to last for a certain free region. Also: * Reports E0373: "closure may outlive the current function" with NLL. * Special cases the case of returning a reference to (or value referencing) a local variable or temporary (E0515). * Special case assigning a reference to a local variable in a closure to a captured variable. | ||||
| 2018-10-05 | Updates to .stderr output in ui tests from earlier changes. | Felix S. Klock II | -4/+4 | |
| 2018-09-23 | Remove irrelevant message about drop order | Matthew Jasper | -2/+0 | |
| When dropping a self-borrowing struct we shouldn't add a "values in a scope are dropped in the opposite order they are defined" message, since there is only one value being dropped. | ||||
| 2018-08-17 | Auto merge of #53288 - RalfJung:dropck, r=nikomatsakis | bors | -0/+79 | |
| unions are not always trivially dropable Fixes #52786 r? @nikomatsakis | ||||
| 2018-08-17 | fix license | Ralf Jung | -2/+12 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+587 | |
| 2018-08-12 | unions are not always trivially dropable | Ralf Jung | -0/+69 | |
| Fixes #52786 | ||||
| 2018-07-23 | Don't match on region kinds when reporting NLL errors | Matthew Jasper | -3/+3 | |
| With NLL region kinds are always ReVar | ||||
| 2018-06-19 | Suggest that values are dropped in the opposite order they are defined | Santiago Pastorino | -0/+6 | |
| 2018-05-25 | rust-lang/rust#51025: improve test robustness so that they work under NLL too. | Felix S. Klock II | -99/+193 | |
| 2018-04-11 | Checkpoint the current status of NLL on `ui` tests via compare-mode=nll. | Felix S. Klock II | -0/+42 | |
| 2018-04-11 | Workaround rust-lang/rust#49855 by forcing rustc_error in any mode, ↵ | Felix S. Klock II | -6/+6 | |
| including NLL. NOTE: I was careful to make each change in a manner that preserves the existing diagnostic output (usually by ensuring that no lines were added or removed). This means that the resulting source files are not as nice to read as they were at the start. But we will have to review these cases by hand anyway as follow-up work, so cleanup could reasonably happen then (or not at all). | ||||
| 2018-04-05 | Stabilize attributes on generic parameters | Vadim Petrochenkov | -14/+10 | |
| 2018-03-14 | update tests | Guillaume Gomez | -4/+4 | |
| 2018-02-26 | Update UI tests | Vadim Petrochenkov | -2/+2 | |
| 2018-02-26 | Update UI tests | Vadim Petrochenkov | -58/+58 | |
| 2018-02-25 | Update ui tests | Guillaume Gomez | -0/+4 | |
| 2017-12-14 | Point at var in short lived borrows | Esteban Küber | -82/+83 | |
| 2017-11-24 | Merge cfail and ui tests into ui tests | Oliver Schneider | -29/+40 | |
| 2017-07-02 | Revert "Change error count messages" | Ariel Ben-Yehuda | -4/+4 | |
| This reverts commit 5558c64f33446225739c1153b43d2e309bb4f50e. | ||||
| 2017-05-27 | Add new error codes and update tests | Guillaume Gomez | -12/+12 | |
| 2017-05-24 | Change error count messages | Michael Kohl | -4/+4 | |
| See #33525 for details. | ||||
| 2017-04-20 | Reduce visual clutter of multiline start when possible | Esteban Küber | -6/+4 | |
| When a span starts on a line with nothing but whitespace to the left, and there are no other annotations in that line, simplify the visual representation of the span. Go from: ```rust error[E0072]: recursive type `A` has infinite size --> file2.rs:1:1 | 1 | struct A { | _^ starting here... 2 | | a: A, 3 | | } | |_^ ...ending here: recursive type has infinite size | ``` To: ```rust error[E0072]: recursive type `A` has infinite size --> file2.rs:1:1 | 1 | / struct A { 2 | | a: A, 3 | | } | |_^ recursive type has infinite size ``` Remove `starting here...`/`...ending here` labels from all multiline diagnostics. | ||||
