aboutsummaryrefslogtreecommitdiff
path: root/crates/ide
Commit message (Collapse)AuthorAgeFilesLines
* minor: use minicoreAleksey Kladov2021-06-181-13/+4
|
* minor: use minicoreAleksey Kladov2021-06-181-3/+1
|
* internal: use minicore deref moreAleksey Kladov2021-06-181-2/+2
|
* internal: add Copy to minicoreAleksey Kladov2021-06-181-2/+2
|
* Minor clippy perf fixesLaurențiu Nicola2021-06-181-1/+1
|
* internal: retire famous_defs_fixtureAleksey Kladov2021-06-171-10/+15
| | | | This is now done declaratively via `minicore`.
* internal: add derive and ord support to minicoreAleksey Kladov2021-06-171-2/+2
|
* internal: add From to minicoreAleksey Kladov2021-06-171-2/+2
|
* internal: add default to minicoreAleksey Kladov2021-06-171-2/+2
|
* Nest all the or-patterns!Lukas Wirth2021-06-173-5/+4
|
* internal: minimize minicoreAleksey Kladov2021-06-171-3/+3
| | | | | | We want to keep minicore small, so let's split out iterator adapters and sources into a separate `iterators` region, and use them only when needed.
* internal: switch some tests to minicoreAleksey Kladov2021-06-171-16/+15
|
* internal: add fn to minicoreAleksey Kladov2021-06-161-2/+2
|
* Merge #9293bors[bot]2021-06-151-3/+4
|\ | | | | | | | | | | | | | | 9293: fix: Show diagnostic fixes before assists r=matklad a=lnicola Closes #9212 Co-authored-by: Laurențiu Nicola <[email protected]>
| * Show diagnostic fixes before assistsLaurențiu Nicola2021-06-151-3/+4
| |
* | Merge #9294bors[bot]2021-06-151-10/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 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-151-10/+5
| |/
* / Highlight unsafe trait refs as unsafe only in impl blocks and definitionsLukas Wirth2021-06-1512-19/+51
|/
* internal: don't #[ignore] testsAleksey Kladov2021-06-151-5/+5
| | | | See the style.md for motivation
* Merge #9278bors[bot]2021-06-152-8/+15
|\ | | | | | | | | | | | | | | 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-152-8/+15
| |
* | Merge #9277bors[bot]2021-06-141-3/+3
|\| | | | | | | | | | | | | | | | | 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-141-3/+3
| | | | | | | | | | 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 #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
| |
* | minor: less ambiguous nameAleksey Kladov2021-06-141-2/+3
| |
* | 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-141-0/+18
| |
* | internal: adapt diagnostics to the new rename APIAleksey Kladov2021-06-141-423/+12
| |
* | internal: prepare to move assist definitionsAleksey Kladov2021-06-141-2/+2
| |
* | internal: move diagnostics to a new crateAleksey Kladov2021-06-1424-4601/+4
|/
* 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.
* 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.
* internal: diagnostic code is mandatoryAleksey Kladov2021-06-132-23/+12
|
* minor: dead codeAleksey Kladov2021-06-132-50/+34
|
* internal: kill diagnostic sinkAleksey Kladov2021-06-131-35/+13
|
* internal: use cov-mark rather than bailing out diagnosticAleksey Kladov2021-06-132-49/+53
|
* internal: refactor missing match arms diagnosticsAleksey Kladov2021-06-132-907/+926
|
* internal: remove DiagnosticWithFix infraAleksey Kladov2021-06-134-585/+534
|
* internal: refactor incorrect case diagnosticsAleksey Kladov2021-06-133-40/+38
|
* minorAleksey Kladov2021-06-132-38/+38
|
* internal: refactor find_map diagnosticAleksey Kladov2021-06-134-171/+184
|
* minorAleksey Kladov2021-06-133-44/+34
|
* internal: refactor missing or or some diagnosticAleksey Kladov2021-06-133-24/+41
|
* internal: refactor remove this semicolon diagnosticsAleksey Kladov2021-06-136-59/+68
|
* internal: refactor mismatched args count diagnosticAleksey Kladov2021-06-132-250/+274
|
* internal: refactor missing unsafe diagnosticAleksey Kladov2021-06-132-84/+103
|
* internal: refactor BreakOutsideOfLoop diagnosticAleksey Kladov2021-06-132-10/+32
|
* internal: refactor NoSuchField diagnosticAleksey Kladov2021-06-133-290/+297
|
* internal: refactor unimplemented builtin macro diagnosticAleksey Kladov2021-06-132-5/+21
|