| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-04-22 | The new diagnostic has found a bug lurking in minicore | Chayim Refael Friedman | -1/+1 | |
| It's cute, isn't it? | ||||
| 2025-04-22 | Add two new diagnostics: one for mismatch in generic arguments count, and ↵ | Chayim Refael Friedman | -404/+1242 | |
| 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-22 | Merge pull request #19662 from Veykril/push-lqqvmnonlwrx | Lukas Wirth | -1/+1 | |
| minor: Fix outdated comment in hir-ty/generics.rs | ||||
| 2025-04-22 | minor: Fix outdated comment in hir-ty/generics.rs | Lukas Wirth | -1/+1 | |
| 2025-04-22 | Merge pull request #19624 from jackh726/chalk-update | Lukas Wirth | -173/+166 | |
| Update chalk | ||||
| 2025-04-21 | Merge pull request #19655 from Veykril/push-kunlloxnyksr | Lukas Wirth | -34/+38 | |
| refactor: Fold hygiene map into bindings themselves | ||||
| 2025-04-21 | refactor: Fold hygiene map into bindings themselves | Lukas Wirth | -34/+38 | |
| `HygieneId` fits into `Binding`'s padding. | ||||
| 2025-04-21 | Merge pull request #19644 from ChayimFriedman2/const-syms | Lukas Wirth | -479/+438 | |
| internal: Make predefined symbols `const` instead of `static` | ||||
| 2025-04-21 | Merge pull request #19604 from WtzLAS/fix-issue-19601 | Lukas Wirth | -1/+1 | |
| Add semicolon to use | ||||
| 2025-04-21 | Merge pull request #19629 from jyn514/unset-env | Lukas Wirth | -91/+114 | |
| allow using `null` to unset an environment variable | ||||
| 2025-04-21 | Merge pull request #19643 from ChayimFriedman2/generic-const-items | Lukas Wirth | -3/+305 | |
| feat: Parse generic consts | ||||
| 2025-04-21 | Merge pull request #19653 from Veykril/push-lmrprywtztzt | Lukas Wirth | -4/+30 | |
| feat: parse `super let` | ||||
| 2025-04-21 | Merge pull request #19651 from roife/enhance-notable-trait-render | Lukas Wirth | -36/+16 | |
| minor: simplify and enhance notable traits rendering | ||||
| 2025-04-21 | Merge pull request #19634 from Veykril/push-mnpmxxrprymo | Lukas Wirth | -20/+38 | |
| feat: Allow unsetting env vars in `server.extraEnv` config | ||||
| 2025-04-21 | feat: parse `super let` | Lukas Wirth | -4/+30 | |
| 2025-04-21 | minor: simplify and enhance notable traits rendering | roifewu | -36/+16 | |
| 2025-04-21 | feat: Allow unsetting env vars in `server.extraEnv` config | Lukas Wirth | -20/+38 | |
| 2025-04-21 | Merge pull request #19650 from Veykril/push-rkxrprnwqktr | Lukas Wirth | -14/+16 | |
| fix: Support unstable `UnsafePinned` struct in type layout calc | ||||
| 2025-04-21 | fix: Support unstable `UnsafePinned` struct in type layout calc | Lukas Wirth | -14/+16 | |
| 2025-04-21 | Merge pull request #19636 from Veykril/push-wttkunmqyskm | Lukas Wirth | -11/+12 | |
| fix: Fix completion_snippets_custom config always erroring | ||||
| 2025-04-21 | fix: Fix completion_snippets_custom config always erroring | Lukas Wirth | -10/+12 | |
| 2025-04-21 | Back out "When changing the config, do not emit an error if a field is missing" | Lukas Wirth | -5/+4 | |
| This backs out commit 8497fc321cad420b923e15f600106f8e22324930. | ||||
| 2025-04-21 | Remove unnecessary predefined symbol clones | Chayim Refael Friedman | -367/+318 | |
| 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-21 | Get rid of static predefined symbols | Chayim Refael Friedman | -112/+120 | |
| Make them all `const`. | ||||
| 2025-04-21 | Parse generic consts | Chayim Refael Friedman | -3/+305 | |
| A lang team experiment, https://github.com/rust-lang/rust/issues/113521. | ||||
| 2025-04-20 | Merge pull request #19642 from ChayimFriedman2/fix-warn | Chayim Refael Friedman | -14/+8 | |
| fix: Two config code changes | ||||
| 2025-04-20 | When changing the config, do not emit an error if a field is missing | Chayim Refael Friedman | -4/+5 | |
| 2025-04-20 | Remove unused macro arm | Chayim Refael Friedman | -10/+3 | |
| 2025-04-20 | Merge pull request #19639 from bbb651/doc-fix-dead-links | Chayim Refael Friedman | -26/+26 | |
| doc: Fix dead manual links | ||||
| 2025-04-20 | doc: Fix dead manual links | bbb651 | -26/+26 | |
| 2025-04-20 | Merge pull request #19638 from bbb651/doc-config-anchors | Chayim Refael Friedman | -358/+690 | |
| doc: Rework generated configuration to have anchors | ||||
| 2025-04-20 | doc: Rework generated configuration to have anchors | bbb651 | -358/+690 | |
| Also first line of default code blocks being used as the language instead of json and fixes a missing `json` language in a doc comment code block. | ||||
| 2025-04-20 | Update chalk | jackh726 | -173/+166 | |
| 2025-04-19 | Merge pull request #19617 from ChayimFriedman2/more-actual | Chayim Refael Friedman | -1523/+1471 | |
| internal: Make `HirFileId`, `EditionedFileId` and macro files Salsa struct | ||||
| 2025-04-19 | Make `HirFileId`, `EditionedFileId` and macro files Salsa struct | Chayim Refael Friedman | -1523/+1471 | |
| 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-19 | allow using `null` to unset an environment variable | jyn | -91/+114 | |
| this makes three changes: - all callsites of `toolchain::command` are changed to use `command(path, extra_env)`, instead of manually adding the env after the fact. - all `map<str, str>` are changed to `map<str, option<str>>`. - `command` checks for None and calls `env_remove` if so. this caught several places where environment variables weren't being propagated: - when running `rustc --print=target-libdir` - when running `cargo rustc -- --print=target-spec-json` - when running the custom DiscoverLinkedProjects config. I *think* this is for use with non-cargo build systems, so I didn't change it. | ||||
| 2025-04-19 | Merge pull request #19628 from jyn514/warn-bad-config | Lukas Wirth | -14/+17 | |
| don't ignore config values that fail to parse | ||||
| 2025-04-19 | don't ignore config values that fail to parse | jyn | -14/+17 | |
| previously, these would just silently be ignored. now they give a warning such as: ``` invalid config values: /completion/snippets/custom: invalid type: null, expected a map; /cargo/extraEnv: invalid type: null, expected a string; ``` | ||||
| 2025-04-18 | Merge pull request #19613 from ChayimFriedman2/subst | Lukas Wirth | -8/+46 | |
| fix: Fix a panic when a trait method in an impl declares a lifetime parameter not in the trait declaration | ||||
| 2025-04-18 | Merge pull request #19618 from lnicola/pgo-revision | Laurențiu Nicola | -12/+20 | |
| internal: Support specific revisions for PGO | ||||
| 2025-04-18 | Support specific revisions for pgo | Laurențiu Nicola | -12/+20 | |
| 2025-04-18 | Merge pull request #19619 from ChayimFriedman2/sort-notable | Chayim Refael Friedman | -0/+1 | |
| fix: Sort notable traits in hover | ||||
| 2025-04-18 | Sort notable traits in hover | Chayim Refael Friedman | -0/+1 | |
| Previously it was ordered by what accidentally happened to be the crate graph order, which isn't sensible, plus it caused changes when any change was done to salsa IDs. | ||||
| 2025-04-18 | Merge pull request #19616 from ChayimFriedman2/transparent-diags | Lukas Wirth | -0/+6 | |
| internal: Make hir-ty non-diagnostic queries transparent | ||||
| 2025-04-18 | Make hir-ty non-diagnostic queries transparent | Chayim Refael Friedman | -0/+6 | |
| That is, all queries that have a `with_diagnostic` variant. Them being tracked was (maybe) needed before #19462, because back then diagnostics could refer `AstId`s (for macro types), but now they are no longer needed. | ||||
| 2025-04-18 | Fix a panic when a trait method in an impl declares a lifetime parameter not ↵ | Chayim Refael Friedman | -8/+46 | |
| in the trait declaration Shuffle the code a bit. | ||||
| 2025-04-17 | Merge pull request #19614 from lnicola/macos-14-arm64 | Laurențiu Nicola | -1/+1 | |
| internal: Build MacOS AArch64 releases on that platform | ||||
| 2025-04-17 | Merge pull request #19612 from ChayimFriedman2/parent-generics | Lukas Wirth | -5/+32 | |
| fix: Fix a bug with predicate lowering of associated items | ||||
| 2025-04-17 | Build MacOS AArch64 releases on that platform | Laurențiu Nicola | -1/+1 | |
| 2025-04-17 | Merge pull request #19611 from zamazan4ik/patch-1 | Laurențiu Nicola | -0/+2 | |
| Use PGO on macOS x64 and arm64 builds | ||||
