diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-06 14:19:58 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-06 14:19:58 +0000 |
commit | 1cc6879576b04850db3dd8aa1df0cf7c8f270503 (patch) | |
tree | 9221e6742315cc0faa8cdec5d44852afcf7d28e1 /crates/ra_db/src | |
parent | 5947c1f8b52deb4fcfd97970ba6eb473f092cb94 (diff) | |
parent | 57da3df99a52ccedd7a684d2053db766e5681a61 (diff) |
Merge #3489
3489: More robust expression lowering r=matklad a=matklad
Closes #2236
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_db/src')
-rw-r--r-- | crates/ra_db/src/fixture.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_db/src/fixture.rs b/crates/ra_db/src/fixture.rs index 17cd138c2..da7af110c 100644 --- a/crates/ra_db/src/fixture.rs +++ b/crates/ra_db/src/fixture.rs | |||
@@ -21,9 +21,9 @@ pub trait WithFixture: Default + SourceDatabaseExt + 'static { | |||
21 | (db, file_id) | 21 | (db, file_id) |
22 | } | 22 | } |
23 | 23 | ||
24 | fn with_files(fixture: &str) -> Self { | 24 | fn with_files(ra_fixture: &str) -> Self { |
25 | let mut db = Self::default(); | 25 | let mut db = Self::default(); |
26 | let pos = with_files(&mut db, fixture); | 26 | let pos = with_files(&mut db, ra_fixture); |
27 | assert!(pos.is_none()); | 27 | assert!(pos.is_none()); |
28 | db | 28 | db |
29 | } | 29 | } |