Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Highlight unsafe trait refs as unsafe only in impl blocks and definitions | Lukas Wirth | 2021-06-15 | 13 | -19/+60 | |
|/ / | ||||||
* | | internal: enforce no #[ignore] and no #[should_panic] | Aleksey Kladov | 2021-06-15 | 2 | -2/+2 | |
| | | ||||||
* | | internal: don't #[ignore] tests | Aleksey Kladov | 2021-06-15 | 4 | -83/+27 | |
| | | | | | | | | See the style.md for motivation | |||||
* | | internal: cleanup tests | Aleksey Kladov | 2021-06-15 | 3 | -613/+600 | |
| | | | | | | | | | | | | * ensure standard, non-indented style (should add this check to `fixture` some day) * removed a couple of ignores | |||||
* | | minor: add a test variation | Aleksey Kladov | 2021-06-15 | 1 | -5/+13 | |
| | | ||||||
* | | Merge #9278 | bors[bot] | 2021-06-15 | 7 | -71/+79 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 9278: internal: document that we don't #[ignore] tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | internal: document that we don't #[ignore] tests | Aleksey Kladov | 2021-06-15 | 7 | -71/+79 | |
| | | | ||||||
* | | | Use objects instead of bools for markers in package.json | Laurențiu Nicola | 2021-06-15 | 1 | -2/+2 | |
| | | | ||||||
* | | | Merge #9277 | bors[bot] | 2021-06-14 | 5 | -12/+12 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | 9277: internal: more natural order of sources for TypeParam r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | internal: more natural order of sources for TypeParam | Aleksey Kladov | 2021-06-14 | 5 | -12/+12 | |
| | | | | | | | | | | | | | | | We usually use first (left) variant of `Either` for "usual" case, and use right for odd things. For example, pat source is Pat | SelfParam. | |||||
* | | | Merge #9276 | bors[bot] | 2021-06-14 | 19 | -341/+359 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | 9276: internal: refactor diagnostics more r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | internal: test diagnostic severeties and presense of fixes | Aleksey Kladov | 2021-06-14 | 16 | -140/+155 | |
| | | | ||||||
| * | | minor: make diagnostics more similar | Aleksey Kladov | 2021-06-14 | 5 | -201/+204 | |
| | | | ||||||
* | | | Merge #9275 | bors[bot] | 2021-06-14 | 1 | -2/+60 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9275: feat: Support goto type for field expressions and patterns r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | Support goto type for field expressions and patterns | Lukas Wirth | 2021-06-14 | 1 | -2/+60 | |
| | | | | ||||||
* | | | | internal: don't pull tracing via chalk | Aleksey Kladov | 2021-06-14 | 1 | -1/+1 | |
| |/ / |/| | | ||||||
* | | | Merge #9272 | bors[bot] | 2021-06-14 | 33 | -798/+917 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 9272: internal: move diagnostics to a dedicated crate r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | internal: document diagnostics crate | Aleksey Kladov | 2021-06-14 | 20 | -65/+87 | |
| | | | ||||||
| * | | minor: less ambiguous name | Aleksey Kladov | 2021-06-14 | 2 | -5/+7 | |
| | | | ||||||
| * | | internal: flatten module hierarchy | Aleksey Kladov | 2021-06-14 | 3 | -9/+10 | |
| | | | | | | | | | | | | | | | It seems that any crate can be made better by flattening the modules down to a single layer? | |||||
| * | | internal: document rename challenges | Aleksey Kladov | 2021-06-14 | 2 | -1/+42 | |
| | | | ||||||
| * | | internal: adapt diagnostics to the new rename API | Aleksey Kladov | 2021-06-14 | 4 | -455/+474 | |
| | | | ||||||
| * | | internal: cut deps between assists and diagnostics | Aleksey Kladov | 2021-06-14 | 9 | -139/+147 | |
| | | | ||||||
| * | | internal: prepare to move assist definitions | Aleksey Kladov | 2021-06-14 | 4 | -33/+30 | |
| | | | ||||||
| * | | internal: move diagnostics to a new crate | Aleksey Kladov | 2021-06-14 | 27 | -578/+595 | |
| | | | ||||||
| * | | internal: start ide diagnostics crate | Aleksey Kladov | 2021-06-14 | 2 | -0/+12 | |
| | | | ||||||
* | | | Merge #9270 | bors[bot] | 2021-06-14 | 1 | -0/+18 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 9270: minor: Add assoc type in trait bound completion test r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | Add assoc type in trait bound completion test | Lukas Wirth | 2021-06-14 | 1 | -0/+18 | |
| | | | ||||||
* | | | internal: prepare to move rename to base_db | Aleksey Kladov | 2021-06-14 | 1 | -41/+40 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's better to handle magical cases upper in the stack, because it allows for better re-use of the general implementation below. So, we pull the `self` case up here. The end goal is to put `Definition::rename` to the `ide_db`, because it's a generally re-usable functionality useful for different ide features, alongside with the search which is already there. | |||||
* | | | Merge #9263 | bors[bot] | 2021-06-14 | 1 | -41/+119 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9263: fix: don't use display-related functionality where semantics matters r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | fix: don't use display-related functionality where semantics matters | Aleksey Kladov | 2021-06-14 | 1 | -41/+119 | |
| |/ / | | | | | | | | | | | | | | | | | | | NavigationTarget is strictly a UI-level thing -- it describes where the cursor should be placed when the user presses goto definition. It doesn't make any semantic guaratees about rage and focus range and, as such, is not suitable for driving renames. | |||||
* / / | Don't keep a trailing self token in import paths after unmerge_use | Lukas Wirth | 2021-06-14 | 1 | -1/+15 | |
|/ / | ||||||
* | | Merge #9260 | bors[bot] | 2021-06-14 | 31 | -36/+36 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 9260: tree-wide: make rustdoc links spiky so they are clickable r=matklad a=lf- Rustdoc was complaining about these while I was running with --document-private-items and I figure they should be fixed. Co-authored-by: Jade <[email protected]> | |||||
| * | | tree-wide: make rustdoc links spiky so they are clickable | Jade | 2021-06-14 | 31 | -36/+36 | |
| | | | ||||||
* | | | internal: diagnostic code is mandatory | Aleksey Kladov | 2021-06-13 | 3 | -29/+17 | |
| | | | ||||||
* | | | minor: dead code | Aleksey Kladov | 2021-06-13 | 2 | -50/+34 | |
| | | | ||||||
* | | | internal: kill diagnostic sink | Aleksey Kladov | 2021-06-13 | 4 | -170/+19 | |
| | | | ||||||
* | | | internal: use cov-mark rather than bailing out diagnostic | Aleksey Kladov | 2021-06-13 | 5 | -108/+62 | |
| | | | ||||||
* | | | internal: refactor missing match arms diagnostics | Aleksey Kladov | 2021-06-13 | 4 | -930/+935 | |
| | | | ||||||
* | | | internal: remove DiagnosticWithFix infra | Aleksey Kladov | 2021-06-13 | 4 | -585/+534 | |
| | | | ||||||
* | | | internal: refactor incorrect case diagnostics | Aleksey Kladov | 2021-06-13 | 6 | -79/+49 | |
| | | | ||||||
* | | | minor | Aleksey Kladov | 2021-06-13 | 2 | -38/+38 | |
| | | | ||||||
* | | | internal: refactor find_map diagnostic | Aleksey Kladov | 2021-06-13 | 6 | -193/+192 | |
| | | | ||||||
* | | | minor | Aleksey Kladov | 2021-06-13 | 3 | -44/+34 | |
| | | | ||||||
* | | | internal: refactor missing or or some diagnostic | Aleksey Kladov | 2021-06-13 | 5 | -58/+44 | |
| | | | ||||||
* | | | internal: refactor remove this semicolon diagnostics | Aleksey Kladov | 2021-06-13 | 8 | -83/+71 | |
| | | | ||||||
* | | | internal: refactor mismatched args count diagnostic | Aleksey Kladov | 2021-06-13 | 4 | -280/+279 | |
| | | | ||||||
* | | | internal: refactor missing unsafe diagnostic | Aleksey Kladov | 2021-06-13 | 4 | -107/+106 | |
| | | | ||||||
* | | | internal: refactor BreakOutsideOfLoop diagnostic | Aleksey Kladov | 2021-06-13 | 4 | -32/+36 | |
| | | | ||||||
* | | | internal: refactor NoSuchField diagnostic | Aleksey Kladov | 2021-06-13 | 5 | -314/+300 | |
| | | |