mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
improve test
This commit is contained in:
parent
23303cd0f8
commit
fdd282ee0c
1 changed files with 2 additions and 2 deletions
|
@ -261,11 +261,11 @@ mod tests {
|
|||
fn test_lambda_scope() {
|
||||
do_check(r"
|
||||
fn quux(foo: i32) {
|
||||
let f = |bar| {
|
||||
let f = |bar, baz: i32| {
|
||||
<|>
|
||||
};
|
||||
}",
|
||||
&["bar", "foo"],
|
||||
&["bar", "baz", "foo"],
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue