| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-08-19 | bless tests with new lint messages | Karol Zwolak | -1/+1 | |
| 2025-07-24 | Rehome tests/ui/issues/ tests [1/?] | Oneirical | -0/+27 | |
| 2025-07-05 | cleaned up some tests | Kivooeo | -23/+41 | |
| 2025-07-01 | moved tests | Kivooeo | -0/+45 | |
| 2025-06-18 | Bless/update tests. | Mara Bos | -2/+2 | |
| 2025-06-13 | Unimplement unsized_locals | mejrs | -5/+2 | |
| 2025-06-07 | const-eval error: always say in which item the error occurred | Ralf Jung | -2/+2 | |
| also adjust the wording a little so that we don't say "the error occurred here" for two different spans | ||||
| 2025-06-02 | Clarify why we are talking about a failed const eval at a random place | Oli Scherer | -2/+2 | |
| 2025-06-02 | Use the informative error as the main const eval error message | Oli Scherer | -5/+5 | |
| 2025-03-13 | Only prefer Sized candidates, and only if they certainly hold | Michael Goulet | -0/+21 | |
| 2025-02-28 | normalizing where-clauses is also coinductive, add tests | lcnr | -0/+3 | |
| 2024-11-23 | Update tests for new TRPL chapter order | Chris Krycho | -1/+1 | |
| 2024-10-06 | On function and method calls in patterns, link to the book | Esteban Küber | -1/+3 | |
| ``` error: expected a pattern, found an expression --> f889.rs:3:13 | 3 | let (x, y.drop()) = (1, 2); //~ ERROR | ^^^^^^^^ not a pattern | = note: arbitrary expressions are not allowed in patterns: <https://doc.rust-lang.org/book/ch18-00-patterns.html> error[E0532]: expected a pattern, found a function call --> f889.rs:2:13 | 2 | let (x, drop(y)) = (1, 2); //~ ERROR | ^^^^ not a tuple struct or tuple variant | = note: function calls are not allowed in patterns: <https://doc.rust-lang.org/book/ch18-00-patterns.html> ``` Fix #97200. | ||||
| 2024-08-08 | Detect `*` operator on `!Sized` expression | Esteban Küber | -0/+109 | |
| ``` error[E0277]: the size for values of type `str` cannot be known at compilation time --> $DIR/unsized-str-in-return-expr-arg-and-local.rs:15:9 | LL | let x = *""; | ^ doesn't have a size known at compile-time | = help: the trait `Sized` is not implemented for `str` = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature help: references are always `Sized`, even if they point to unsized data; consider not dereferencing the expression | LL - let x = *""; LL + let x = ""; | ``` | ||||
| 2024-07-02 | remove unnecessary ignore-endian-big from stack-overflow-trait-infer test | Ralf Jung | -6/+5 | |
| 2024-06-22 | don't ICE when encountering an extern type field during validation | Ralf Jung | -36/+3 | |
| 2024-06-18 | Only check locally for reported errors | Oli Scherer | -2/+14 | |
| 2024-05-20 | hir pretty: fix block indent | Nilstrieb | -2/+2 | |
| 2024-04-15 | Fix pretty hir for anon consts in diagnostics | Michael Goulet | -2/+4 | |
| 2024-04-02 | t plit astconv's error report code in check functions to mod errors. | surechen | -3/+3 | |
| Move some error report codes to mod `astconv/errors.rs` | ||||
| 2024-03-29 | Do not attempt to write `ty::Err` on binding that isn't from current HIR Owner | Esteban Küber | -0/+43 | |
| Fix #123009. | ||||
| 2024-03-24 | add issue numbers via // issue: rust-lang/rust#ISSUE_NUM directive | Matthias Krüger | -3/+56 | |
| 2024-03-24 | add test for stack overflow with recursive type #98842 | Matthias Krüger | -0/+40 | |
| Fixes #98842 | ||||
| 2024-03-19 | Silence unecessary `!Sized` binding error | Esteban Küber | -14/+3 | |
| When gathering locals, we introduce a `Sized` obligation for each binding in the pattern. *After* doing so, we typecheck the init expression. If this has a type failure, we store `{type error}`, for both the expression and the pattern. But later we store an inference variable for the pattern. We now avoid any override of an existing type on a hir node when they've already been marked as `{type error}`, and on E0277, when it comes from `VariableType` we silence the error in support of the type error. Fix #117846. | ||||
| 2024-03-19 | Add test for #117846 | Esteban Küber | -0/+52 | |
| 2024-02-16 | [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives | 许杰友 Jieyou Xu (Joe) | -6/+6 | |
| 2024-02-07 | Update tests | r0cky | -1/+11 | |
| 2023-12-26 | add test for coercing never to infinite type | Lukas Markeffsky | -0/+30 | |
| 2023-12-26 | rename tests | Lukas Markeffsky | -1/+1 | |
| 2023-11-24 | Show number in error message even for one error | Nilstrieb | -2/+2 | |
| Co-authored-by: Adrian <adrian.iosdev@gmail.com> | ||||
| 2023-10-09 | Only emit one error per unsized binding, instead of one per usage | Esteban Küber | -29/+3 | |
| Fix #56607. | ||||
| 2023-10-09 | Add test for #56607 | Esteban Küber | -0/+44 | |
| 2023-07-21 | Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk" | David Tolnay | -5/+9 | |
| This reverts commit 557359f92512ca88b62a602ebda291f17a953002, reversing changes made to 1e6c09a803fd543a98bfbe1624d697a55300a786. | ||||
| 2023-07-21 | add `naive_layout_of` query | Moulins | -9/+5 | |
| 2023-07-18 | moved note as unspanned note, moved note to the bottom of the msg | nxya | -1/+1 | |
| 2023-07-18 | added links as a note | nxya | -1/+1 | |
| 2023-07-18 | add links to query documentation for E0391 | nxya | -1/+1 | |
| 2023-07-18 | added links as a note | nxya | -1/+2 | |
| 2023-07-18 | add links to query documentation for E0391 | nxya | -1/+1 | |
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+92 | |
