aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/db.rs
Commit message (Collapse)AuthorAgeFilesLines
* Merge #177bors[bot]2018-10-311-1/+1
|\ | | | | | | | | | | | | | | 177: Librariese -> Libraries r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Fix typoJeremy A. Kolb2018-10-311-1/+1
| |
* | Move FnDescriptors to analyzerAleksey Kladov2018-10-311-2/+7
|/
* Add ModuleScope as a queryAleksey Kladov2018-10-301-1/+6
| | | | | | | This is a first step towards queryifing completion and resolve. Some code currently duplicates ra_editor: the plan is to move all completion from ra_editor, but it'll take more than one commit.
* Move input to top-levelAleksey Kladov2018-10-251-0/+98
|
* Store all the data in the Salsa DatabaseAleksey Kladov2018-10-251-136/+0
|
* Introduce ModuleIdAleksey Kladov2018-10-231-2/+2
| | | | | | | Previously, module was synonym with a file, and so a module could have had several parents. This commit introduces a separate module concept, such that each module has only one parent, but a single file can correspond to different modules.
* Merge #138bors[bot]2018-10-221-1/+7
|\ | | | | | | | | | | | | | | | | | | | | | | 138: Fix some clippy lints r=matklad a=alanhdu I went ahead and fixed all the clippy lints (there were a couple I thought would be better unfixed and added `cfg` statements to allow them) and also re-enabled clippy and rustfmt in CI. They were disabled with `no time to explain, disable clippy checks`, so hopefully this won't go against whatever the reason at the time was :laughing:. One question about the CI though: right now, it's an allowed failure that runs against the latest nightly each time. Would it be better to pin it to a specific nightly (or use the `beta` versions) to lower the churn? Co-authored-by: Alan Du <[email protected]>
| * Silence clippy::derive_hash_xor_eqAlan Du2018-10-181-1/+7
| | | | | | | | Manually implement PartialEq
* | actually check for cancelationAleksey Kladov2018-10-201-1/+11
| |
* | make file-symbols query cancelableAleksey Kladov2018-10-201-11/+13
| |
* | update salsaAleksey Kladov2018-10-201-3/+3
|/
* Cargo FormatJeremy A. Kolb2018-10-161-10/+11
| | | | Run `cargo fmt` and ignore generated files
* make analysis syncAleksey Kladov2018-10-151-0/+14
|
* Drop dead codeAleksey Kladov2018-10-151-0/+103