aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Merge #9294bors[bot]2021-06-1513-1027/+1149
|\ | | | | | | | | | | | | | | 9294: internal: introduce minicore -- a subset of libcore for testing r=matklad a=matklad Clearly, we need one more fixed point iteration loop! Co-authored-by: Aleksey Kladov <[email protected]>
| * internal: switch some tests to minicoreAleksey Kladov2021-06-152-18/+9
| |
| * internal: add result to minicoreAleksey Kladov2021-06-152-21/+18
| |
| * internal: switch some tests to minicoreAleksey Kladov2021-06-151-17/+3
| |
| * internal: add option to minicoreAleksey Kladov2021-06-153-41/+25
| |
| * internal: add future to minicoreAleksey Kladov2021-06-152-12/+39
| |
| * internal: sanity-check minicore flagsAleksey Kladov2021-06-152-2/+11
| |
| * internal: switch some tests to minicoreAleksey Kladov2021-06-153-70/+59
| |
| * internal: switch some tests to minicoreAleksey Kladov2021-06-152-55/+32
| |
| * internal: add ranges to minicoreAleksey Kladov2021-06-152-28/+42
| |
| * internal: unindent some testsAleksey Kladov2021-06-151-255/+252
| |
| * internal: switch some tests to minicoreAleksey Kladov2021-06-152-111/+102
| |
| * internal: switch some tests to minicoreAleksey Kladov2021-06-153-62/+75
| |
| * 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
| |