aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db/src/fixture.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove the Default impl for SourceRootMichal Terepeta2020-01-081-3/+3
| | | | | | | | | Let's be always explicit whether we create a library (i.e., an immutable dependency) or a local `SourceRoot`, since it can have a large impact on the validation performance in salsa. (we found it the hard way recently, where the `Default` instance made it quite tricky to spot a bug) Signed-off-by: Michal Terepeta <[email protected]>
* Add support for environment to CrateGraphAleksey Kladov2019-11-221-4/+15
|
* Add convenience method for testingAleksey Kladov2019-11-151-2/+10
|
* Implement FromStr for enum EditionMetabaron2019-11-121-1/+2
|
* move crate_def_map tests to hir_defAleksey Kladov2019-11-031-1/+147
|
* Introduce ra_db::fixture fixture moduleAleksey Kladov2019-11-031-0/+40
The goal here is to share more testing infrastructure between crates.