aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/mock.rs
Commit message (Collapse)AuthorAgeFilesLines
* Prepare SourceDatabase API for lazy file loadingAleksey Kladov2019-10-141-3/+20
|
* macro DSL for cfg in testsAleksey Kladov2019-10-081-2/+17
|
* Enable CfgOptions `test` for workspace cratesuHOOCCOOHu2019-10-021-7/+16
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* introduce FromSource traitEkaterina Babshukova2019-09-191-1/+5
|
* introduce hir debugging infraAleksey Kladov2019-09-091-2/+23
| | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph
* make source_root API more abstractAleksey Kladov2019-09-061-1/+1
|
* :arrow_up: instaAleksey Kladov2019-08-291-1/+1
|
* Some clippy fixes for 1.36Jeremy Kolb2019-07-041-1/+1
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-4/+3
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* make sure that CrateDefMap is independent from syntaxAleksey Kladov2019-06-261-0/+1
|
* add AstDatabaseAleksey Kladov2019-06-021-1/+6
|
* fix odrer-of-iteration bug in testsAleksey Kladov2019-05-211-3/+3
|
* migrate to salsas interningAleksey Kladov2019-04-091-10/+1
|
* tweak diagnostics APIAleksey Kladov2019-03-251-4/+2
|
* test diagnosticsAleksey Kladov2019-03-251-1/+19
|
* rename persistent hir database -> def databaseAleksey Kladov2019-03-231-5/+1
|
* Make edition handling a bit nicer and allow specifying edition in ↵Florian Diebold2019-02-131-6/+9
| | | | crate_graph macro
* Keep track of crate editionFlorian Diebold2019-02-131-2/+3
|
* add graph fixtureAleksey Kladov2019-02-111-0/+35
|
* Handle SourceRoots automatically in fixturesAleksey Kladov2019-02-111-27/+55
|
* reformat the worldAleksey Kladov2019-02-081-4/+1
|
* move assists to a separate crateAleksey Kladov2019-02-061-6/+6
|
* make HirDatabase object-safeAleksey Kladov2019-02-031-3/+1
|
* split HirDatabase apicsmoe2019-02-011-1/+5
|
* rename FilesDatabase -> SourceDatabaseAleksey Kladov2019-01-261-2/+2
|
* move ide queries to ide dbAleksey Kladov2019-01-261-2/+0
|
* fold syntax database into files databaseAleksey Kladov2019-01-261-7/+3
|
* :arrow_up: salsaAleksey Kladov2019-01-251-2/+6
|
* use set methodsAleksey Kladov2019-01-251-23/+10
|
* :arrow_up salsaAleksey Kladov2019-01-251-45/+5
|
* pack enum variants into arenaAleksey Kladov2019-01-251-1/+0
|
* Change ids strategyAleksey Kladov2019-01-241-4/+9
| | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids
* encapsulate hir locationsAleksey Kladov2019-01-241-19/+8
|
* Generics -> GenericParamsFlorian Diebold2019-01-191-1/+1
|
* Implement beginnings of genericsFlorian Diebold2019-01-191-0/+1
| | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions
* fix the testAleksey Kladov2019-01-191-1/+3
|
* :arrow_up: salsaAleksey Kladov2019-01-171-4/+6
|
* Implement basic inherent method resolutionFlorian Diebold2019-01-121-0/+1
|
* Implement type inference for enum variantsMarcus Klaas de Vries2019-01-101-0/+1
|
* implement RefUnwindSafeAleksey Kladov2019-01-101-1/+3
|
* ra_db is independent from editorAleksey Kladov2019-01-081-1/+0
|
* Fix name resolution across source rootsFlorian Diebold2019-01-081-11/+36
| | | | It was using the wrong name in that case.
* Add fn signature queryFlorian Diebold2019-01-061-0/+1
|
* Add HIR Expr machineryFlorian Diebold2019-01-051-0/+2
|
* Rename ImplsInCrateQuery as wellFlorian Diebold2019-01-041-1/+1
|
* Type the self parameterFlorian Diebold2019-01-041-0/+4
|
* Add HIR for impl blocksFlorian Diebold2019-01-041-0/+1
| | | | | | | | | Since we need to be able to go from def to containing impl block, as well as the other direction, and to find all impls for a certain type, a design similar to the one for modules, where we collect all impls for the whole crate and keep them in an arena, seemed fitting. The ImplBlock type, which provides the public interface, then consists only of an Arc to the arena containing all impls, and the index into it.
* rename MFileId -> HirFileIdAleksey Kladov2019-01-011-1/+1
|
* fix testsAleksey Kladov2019-01-011-0/+1
|