| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-05-02 | Render more lifetimes | Lukas Wirth | -10/+9 | |
| 2025-05-01 | remove a couple of clones | Matthias Krüger | -1/+1 | |
| 2025-04-30 | Merge pull request #19247 from alibektas/19172_very_new | Lukas Wirth | -2/+17 | |
| fix: Correct span info for mir::Operand | ||||
| 2025-04-28 | refactor: migrate `let_else_to_match` to editor | Prajwal S N | -3/+8 | |
| Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com> | ||||
| 2025-04-28 | Merge pull request #19704 from Veykril/push-wrvznvvpvtvp | Lukas Wirth | -79/+46 | |
| Add expression fill mode variant for filling with underscore expressions | ||||
| 2025-04-28 | Add expression fill mode variant for filling with underscore expressions | Lukas Wirth | -79/+46 | |
| 2025-04-24 | fix: Fix type argument mismatch incorrectly triggering on inferred trait args | Lukas Wirth | -0/+12 | |
| 2025-04-24 | Properly handle lifetimes when checking generic arguments len | Chayim Refael Friedman | -0/+208 | |
| And also, prepare for correct lowering of lifetime. We still don't handle most lifetimes correctly, but a bit more of the foundation to lifetime elision is now implemented. | ||||
| 2025-04-23 | fix: Fix incorrect diagnostic for lifetime parameter count mismatch | Lukas Wirth | -7/+9 | |
| 2025-04-23 | Mark `incorrect_generics_len` diagnostic as experimental | Lukas Wirth | -0/+1 | |
| 2025-04-22 | Add two new diagnostics: one for mismatch in generic arguments count, and ↵ | Chayim Refael Friedman | -5/+275 | |
| another for mismatch in their kind Also known as E0747 and E0107. And by the way, rewrite how we lower generic arguments and deduplicate it between paths and method calls. The new version is taken almost straight from rustc. This commit also changes the binders of `generic_defaults()`, to only include the binders of the arguments up to (and not including) the current argument. This make it easier to handle it in the rewritten lowering of generic args. It's also how rustc does it. | ||||
| 2025-04-21 | Remove unnecessary predefined symbol clones | Chayim Refael Friedman | -1/+1 | |
| Now that they're const it's no longer needed. Nothing manual was performed: only a regexp search of `sym::([\w][\w\d]*)\.clone\(\)` and replace by `sym::$1`. | ||||
| 2025-04-20 | doc: Fix dead manual links | bbb651 | -1/+1 | |
| 2025-04-19 | Make `HirFileId`, `EditionedFileId` and macro files Salsa struct | Chayim Refael Friedman | -87/+123 | |
| And make more queries non-interned. Also flip the default for queries, now the default is to not intern and to intern a query you need to say `invoke_interned`. | ||||
| 2025-04-16 | Merge pull request #19590 from roife/fix-issue-19540 | Lukas Wirth | -0/+18 | |
| feat: add `pub(crate) mod` option for unlinked files | ||||
| 2025-04-15 | feat: Add `pub(crate) mod` option for unlinked files | roifewu | -0/+18 | |
| 2025-04-10 | fix: Walk const block expressions for unsafety checking | Lukas Wirth | -0/+13 | |
| 2025-04-10 | Remove all upcasts! | Chayim Refael Friedman | -6/+4 | |
| It turns out there were a lot redundant too. | ||||
| 2025-04-09 | Merge pull request #19462 from Veykril/push-ypvprvvwkyll | Lukas Wirth | -2/+10 | |
| refactor: Lower type-refs before type inference | ||||
| 2025-04-09 | refactor: Lower type-refs before type inference | Lukas Wirth | -2/+10 | |
| This refactors how we deal with items in hir-def lowering. - It now lowers all of them through an "ExpressionStore" (kind of a misnomer as this point) as their so called *Signatures. - We now uniformly lower type AST into TypeRefs before type inference. - Likewise, this moves macro expansion out of type inference, resulting in a single place where we do non-defmap macro expansion. - Finally, this PR removes a lot of information from ItemTree, making the DefMap a lot less likely to be recomputed and have it only depend on actual early name resolution related information (not 100% true, we still have ADT fields in there but thats a follow up removal). | ||||
| 2025-04-07 | Merge pull request #19432 from ShoyuVanilla/issue-19431 | Lukas Wirth | -1/+45 | |
| fix: Yet another false positive invalid cast diagnostic | ||||
| 2025-04-04 | prefer default over new | BenjaminBrienen | -1/+1 | |
| 2025-04-01 | chore: Remove unnecessary `Arc` clones | Lukas Wirth | -16/+1 | |
| 2025-03-28 | Fix a bug in orphan rules calculation | Chayim Refael Friedman | -0/+13 | |
| Where a fundamental type applied twice wasn't considered local. | ||||
| 2025-03-24 | fix: Yet another false positive invalid cast diagnostic | Shoyu Vanilla | -1/+45 | |
| 2025-03-23 | chore: Bump dependencies | Lukas Wirth | -2/+2 | |
| 2025-03-22 | Speed up resolving "Generate delegate method" assist (part 2) | Felicián Németh | -16/+16 | |
| Make it compile by adding a `None` subtype to rest of the AssistId instantiations. | ||||
| 2025-03-19 | change test name to sth meaningful | Ali Bektas | -1/+1 | |
| 2025-03-19 | Fix span info for mir::Operand | Ali Bektas | -2/+17 | |
| Fixes #19172 | ||||
| 2025-03-17 | chore: Bump `Edition::CURRENT` to 2024 | Lukas Wirth | -5/+5 | |
| 2025-03-16 | Merge pull request #19354 from ChayimFriedman2/rtn-prep | Lukas Wirth | -0/+54 | |
| Preparation to Return Type Notation (RTN) | ||||
| 2025-03-15 | cargo fmt | BenjaminBrienen | -114/+96 | |
| 2025-03-15 | Fix 2024 syntax errors | BenjaminBrienen | -1/+2 | |
| 2025-03-13 | internal: don't panic when the crate graph isn't ready #19351 | David Barsky | -3/+11 | |
| 2025-03-12 | Emit an error when RTN is used in an incorrect place | Chayim Refael Friedman | -0/+54 | |
| We miss one place: associated type bindings aka. `impl Trait<Type(..): Send>`, but we also miss it for Fn-style parenthesizes error so I left it out for now. | ||||
| 2025-03-12 | Salsify the crate graph | Chayim Refael Friedman | -3/+3 | |
| I.e. make it not one giant input but multiple, for incrementality and decreased memory usage for Salsa 3 reasons. | ||||
| 2025-03-10 | internal: port rust-analyzer to new Salsa | David Barsky | -32/+45 | |
| 2025-03-06 | Pass the target crate in `HirFormatter` | Chayim Refael Friedman | -16/+31 | |
| This is required to format evaluated consts, because we need trait env, and it needs the crate (currently it uses the last crate in topological order, which is wrong, the next commit will fix that). | ||||
| 2025-02-27 | fix doc tests | BenjaminBrienen | -1/+1 | |
| 2025-02-27 | enable doctest | BenjaminBrienen | -1/+0 | |
| 2025-02-25 | Support target features implications in target_feature 1.1 | Chayim Refael Friedman | -1/+1 | |
| We vendor the list of implications, which isn't nice, but t-compiler doesn't want to make rustc_target available to us. | ||||
| 2025-02-20 | Improve unset OUT_DIR error message | Lukas Wirth | -2/+2 | |
| 2025-02-17 | Fix detection of ref patterns for path patterns | Chayim Refael Friedman | -0/+21 | |
| I was wrong on #19127, I thought hir-def resolver is enough for them, but it turns out not because of paths like `<Enum>::Variant` and `Type::AssocThatIsEnum::Variant`. | ||||
| 2025-02-17 | Merge pull request #19127 from ChayimFriedman2/different-generic-args | Lukas Wirth | -1/+66 | |
| feat: Refactor path lowering and serve a new path diagnostic | ||||
| 2025-02-16 | Refactor path lowering | Chayim Refael Friedman | -1/+66 | |
| And add a new diagnostic for non-`Fn` parenthesized generic args. Path lowering started to look like a mess, with each function carrying additional parameters for the diagnostic callback (since paths can occur both in type and in expression/pattern position, and their diagnostic handling is different) and the segment index, for the diagnostics report. So I refactored it from stateless functions on `TyLoweringContext` into stateful struct, `PathLoweringContext`, that tracks the process of lowering a path from resolution til assoc types selection. | ||||
| 2025-02-16 | Improve error recovery when method-calling an assoc function | Lukas Wirth | -26/+21 | |
| 2025-02-12 | Merge pull request #18995 from alibektas/12210 | Lukas Wirth | -7/+8 | |
| fix: Lower range pattern bounds to expressions | ||||
| 2025-02-12 | Propogate error types in mir type projections | Lukas Wirth | -0/+13 | |
| 2025-02-07 | fix: Resolve projection types before checking casts | Shoyu Vanilla | -0/+35 | |
| 2025-02-03 | Do not use make use of `InferenceResult::has_errors` flag for mir building | Lukas Wirth | -1/+4 | |
| It generaly does not work as expected right now as we fallback type parameters to errors | ||||
