aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/diagnostics/fixes.rs
Commit message (Collapse)AuthorAgeFilesLines
* cargo fmtPhil Ellison2021-01-071-1/+2
|
* Add fix to wrap return expression in SomePhil Ellison2021-01-071-6/+7
|
* Remove some stale deprecationsAleksey Kladov2021-01-071-3/+0
|
* source_old -> source for cases that can be handled by simple bubblingNick Spain2021-01-021-3/+3
|
* Mark HasSource::source_old as deprecated but allow at all call sitesNick Spain2021-01-021-0/+3
|
* HasSource::source -> HasSource::source_oldNick Spain2021-01-021-3/+3
| | | | To start migrating HasSource::source to return an Option.
* Add initial_contents field for CreateFileDaiki Ihara2020-12-211-0/+1
|
* Align code_model name with ungrammarAleksey Kladov2020-12-201-1/+1
|
* Merge #6769bors[bot]2020-12-101-1/+22
|\ | | | | | | | | | | | | | | | | | | 6769: Add native "remove this semicolon" diagnostics r=matklad a=ivan770 Closes #6739 ![demo2](https://user-images.githubusercontent.com/14003886/101530533-b76c3180-399a-11eb-9d18-5c8457721655.gif) Co-authored-by: ivan770 <[email protected]>
| * Cast to ExprStmt, style fixesivan7702020-12-101-4/+4
| |
| * Format codeivan7702020-12-081-3/+10
| |
| * Remove unused useivan7702020-12-081-1/+1
| |
| * Remove this semicolonivan7702020-12-081-6/+20
| |
* | Fix FileId computation in IncorrectCase fixJonas Schievink2020-12-101-4/+4
| |
* | Introduce anchored_pathAleksey Kladov2020-12-091-3/+5
| | | | | | | | | | They allow to represent paths like `#[path = "C:\path.rs"] mod foo;` in a lossless cross-platform & network-transparent way.
* | Fix MissingFields DiagnosticFix trigger rangeLukas Wirth2020-12-091-2/+3
|/
* Support struct variants in extract_struct_from_enum_variantLukas Wirth2020-11-031-1/+2
|
* Remove more unreachable pubsAleksey Kladov2020-11-021-1/+1
|
* Re-export base_db from ide_dbIgor Aleksanov2020-10-241-1/+1
|
* Use TextRange::contains_inclusive in fixes checkIgor Aleksanov2020-10-121-1/+2
|
* Keep SyntaxNodePtr::range privateIgor Aleksanov2020-10-121-1/+4
|
* Add fix for incorrect case diagnosticIgor Aleksanov2020-10-121-2/+18
|
* MinorAleksey Kladov2020-08-181-0/+175