mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Test for correct amount of emitted folds
This commit is contained in:
parent
156d995423
commit
b4e936f8f0
1 changed files with 2 additions and 0 deletions
|
@ -572,6 +572,8 @@ fn foo()<fold returntype>-> (
|
||||||
bool,
|
bool,
|
||||||
bool,
|
bool,
|
||||||
)</fold> { (true, true) }
|
)</fold> { (true, true) }
|
||||||
|
|
||||||
|
fn bar() -> (bool, bool) { (true, true) }
|
||||||
"#,
|
"#,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue