diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-09 10:35:17 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-09 10:35:17 +0000 |
commit | 0d6e5a986cc7c3a434c2107edf748d1c26ac3f69 (patch) | |
tree | c5adb573c201abf473370c947e714c8d9cd129ff /crates/ra_hir/src/diagnostics.rs | |
parent | 5ced6f4be31576849f37e15c150f3ca3eea37b4d (diff) | |
parent | d761435ba006227bc1a83f8450cfde000dac5aa3 (diff) |
Merge #2771
2771: Remove the Default impl for SourceRoot r=matklad a=michalt
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]>
Co-authored-by: Michal Terepeta <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/diagnostics.rs')
0 files changed, 0 insertions, 0 deletions