mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 05:56:56 +00:00
Add a test for #2178
This commit is contained in:
parent
b8106eb2aa
commit
0f6b4977dd
@ -355,3 +355,7 @@ fn newlines_between_list_like_expr() {
|
||||
_ => bar(),
|
||||
};
|
||||
}
|
||||
|
||||
fn issue2178() {
|
||||
Ok(result.iter().map(|item| ls_util::rls_to_location(item)).collect())
|
||||
}
|
||||
|
@ -408,3 +408,10 @@ fn newlines_between_list_like_expr() {
|
||||
_ => bar(),
|
||||
};
|
||||
}
|
||||
|
||||
fn issue2178() {
|
||||
Ok(result
|
||||
.iter()
|
||||
.map(|item| ls_util::rls_to_location(item))
|
||||
.collect())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user