aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | internal: switch some tests to minicoreAleksey Kladov2021-06-151-181/+129
| | | |
| * | | internal: switch some tests to minicoreAleksey Kladov2021-06-152-118/+88
| | | |
| * | | internal: introduce minicore -- a subset of libcore for testingAleksey Kladov2021-06-156-42/+271
| |/ /
* / / Highlight unsafe trait refs as unsafe only in impl blocks and definitionsLukas Wirth2021-06-1513-19/+60
|/ /
* | internal: enforce no #[ignore] and no #[should_panic]Aleksey Kladov2021-06-152-2/+2
| |
* | internal: don't #[ignore] testsAleksey Kladov2021-06-154-83/+27
| | | | | | | | See the style.md for motivation
* | internal: cleanup testsAleksey Kladov2021-06-153-613/+600
| | | | | | | | | | | | * ensure standard, non-indented style (should add this check to `fixture` some day) * removed a couple of ignores
* | minor: add a test variationAleksey Kladov2021-06-151-5/+13
| |
* | Merge #9278bors[bot]2021-06-157-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] testsAleksey Kladov2021-06-157-71/+79
| | |
* | | Use objects instead of bools for markers in package.jsonLaurențiu Nicola2021-06-151-2/+2
| | |
* | | Merge #9277bors[bot]2021-06-145-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 TypeParamAleksey Kladov2021-06-145-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 #9276bors[bot]2021-06-1419-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 fixesAleksey Kladov2021-06-1416-140/+155
| | |
| * | minor: make diagnostics more similarAleksey Kladov2021-06-145-201/+204
| | |
* | | Merge #9275bors[bot]2021-06-141-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 patternsLukas Wirth2021-06-141-2/+60
| | | |
* | | | internal: don't pull tracing via chalkAleksey Kladov2021-06-141-1/+1
| |/ / |/| |
* | | Merge #9272bors[bot]2021-06-1433-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 crateAleksey Kladov2021-06-1420-65/+87
| | |
| * | minor: less ambiguous nameAleksey Kladov2021-06-142-5/+7
| | |
| * | internal: flatten module hierarchyAleksey Kladov2021-06-143-9/+10
| | | | | | | | | | | | | | | It seems that any crate can be made better by flattening the modules down to a single layer?
| * | internal: document rename challengesAleksey Kladov2021-06-142-1/+42
| | |
| * | internal: adapt diagnostics to the new rename APIAleksey Kladov2021-06-144-455/+474
| | |
| * | internal: cut deps between assists and diagnosticsAleksey Kladov2021-06-149-139/+147
| | |
| * | internal: prepare to move assist definitionsAleksey Kladov2021-06-144-33/+30
| | |
| * | internal: move diagnostics to a new crateAleksey Kladov2021-06-1427-578/+595
| | |
| * | internal: start ide diagnostics crateAleksey Kladov2021-06-142-0/+12
| | |
* | | Merge #9270bors[bot]2021-06-141-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 testLukas Wirth2021-06-141-0/+18
| | |
* | | internal: prepare to move rename to base_dbAleksey Kladov2021-06-141-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 #9263bors[bot]2021-06-141-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 mattersAleksey Kladov2021-06-141-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_useLukas Wirth2021-06-141-1/+15
|/ /
* | Merge #9260bors[bot]2021-06-1431-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 clickableJade2021-06-1431-36/+36
| | |
* | | internal: diagnostic code is mandatoryAleksey Kladov2021-06-133-29/+17
| | |
* | | minor: dead codeAleksey Kladov2021-06-132-50/+34
| | |
* | | internal: kill diagnostic sinkAleksey Kladov2021-06-134-170/+19
| | |
* | | internal: use cov-mark rather than bailing out diagnosticAleksey Kladov2021-06-135-108/+62
| | |
* | | internal: refactor missing match arms diagnosticsAleksey Kladov2021-06-134-930/+935
| | |
* | | internal: remove DiagnosticWithFix infraAleksey Kladov2021-06-134-585/+534
| | |
* | | internal: refactor incorrect case diagnosticsAleksey Kladov2021-06-136-79/+49
| | |
* | | minorAleksey Kladov2021-06-132-38/+38
| | |
* | | internal: refactor find_map diagnosticAleksey Kladov2021-06-136-193/+192
| | |
* | | minorAleksey Kladov2021-06-133-44/+34
| | |
* | | internal: refactor missing or or some diagnosticAleksey Kladov2021-06-135-58/+44
| | |
* | | internal: refactor remove this semicolon diagnosticsAleksey Kladov2021-06-138-83/+71
| | |
* | | internal: refactor mismatched args count diagnosticAleksey Kladov2021-06-134-280/+279
| | |