mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
parent
ea0c124219
commit
fb5891c433
6 changed files with 26 additions and 18 deletions
|
@ -21,9 +21,9 @@ pub trait WithFixture: Default + SourceDatabaseExt + 'static {
|
|||
(db, file_id)
|
||||
}
|
||||
|
||||
fn with_files(fixture: &str) -> Self {
|
||||
fn with_files(ra_fixture: &str) -> Self {
|
||||
let mut db = Self::default();
|
||||
let pos = with_files(&mut db, fixture);
|
||||
let pos = with_files(&mut db, ra_fixture);
|
||||
assert!(pos.is_none());
|
||||
db
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue