diff options
author | Michal Terepeta <[email protected]> | 2020-01-08 18:29:18 +0000 |
---|---|---|
committer | Michal Terepeta <[email protected]> | 2020-01-08 18:42:27 +0000 |
commit | d761435ba006227bc1a83f8450cfde000dac5aa3 (patch) | |
tree | ed3369dca017123ad6eddd01b504b02a66bbd1ed /crates/ra_syntax/src/validation.rs | |
parent | 2ffaad10f24ad9d3d748a347e02f170f24833ec3 (diff) |
Remove the Default impl for SourceRoot
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]>
Diffstat (limited to 'crates/ra_syntax/src/validation.rs')
0 files changed, 0 insertions, 0 deletions