aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/display
Commit message (Collapse)AuthorAgeFilesLines
* Merge #6901bors[bot]2020-12-181-1/+9
|\ | | | | | | | | | | | | | | | | | | 6901: Temp fixes panic caused by no ast for proc-macro r=maklad a=edwin0cheng There are some panic when hover/goto definition for proc-macro. It is because in current design, we don't have `ast-node` for proc-macro and then it trigger [this](https://github.com/rust-analyzer/rust-analyzer/blob/479d1f7eec22c3564867223e2093f14774092528/crates/hir/src/has_source.rs#L116) line to panic. This PR is a temp fix for all of these similar to https://github.com/rust-analyzer/rust-analyzer/blob/bd4c352831662762ee7a66da77ec9adf623b0a0a/crates/completion/src/render/macro_.rs#L42 Co-authored-by: Edwin Cheng <[email protected]>
| * Temp fixes panic caused by no ast for proc-macroEdwin Cheng2020-12-181-1/+9
| |
* | Rewrite doctest runnablesAleksey Kladov2020-12-171-19/+0
| | | | | | | | Handle more cases in a generic way without copy-pasting code.
* | Make `Attrs::from_attrs_owner` privateJonas Schievink2020-12-171-28/+2
| |
* | Rename ImplDef -> ImplAleksey Kladov2020-12-171-1/+1
| | | | | | | | | | | | We used to have `Def` suffix for all symbols, but we moved off from that. `FunctionDef` isn't better than `Function`. Looks like we've forgot to change `Impl` though!
* | Lifetime reference searchLukas Wirth2020-12-161-1/+19
|/
* Use Attrs::docs in NavigationTarget instead of DocCommentsOwnerLukas Wirth2020-12-111-24/+28
|
* Make `original_range` a method on `InFile<&SyntaxNode>`Jonas Schievink2020-12-081-11/+12
|
* Re-export base_db from ide_dbIgor Aleksanov2020-10-241-1/+1
|
* rename mock_analysis -> fixtureAleksey Kladov2020-10-021-3/+3
|
* Get rid of MockAnalysisAleksey Kladov2020-10-021-2/+2
|
* Switch to expect_test from crates.ioAleksey Kladov2020-08-211-1/+1
|
* Rename ra_ide -> ideAleksey Kladov2020-08-132-0/+602