test: add test case for inlay hint support for expr with label
This commit is contained in:
parent
cce9da3bef
commit
a95ff26fdc
1 changed files with 13 additions and 0 deletions
|
|
@ -240,6 +240,19 @@ fn test() {
|
|||
//^ 'do_a
|
||||
}
|
||||
//^ 'end
|
||||
|
||||
'a: loop {
|
||||
'b: for i in 0..5 {
|
||||
'c: while true {
|
||||
|
||||
|
||||
}
|
||||
//^ 'c
|
||||
}
|
||||
//^ 'b
|
||||
}
|
||||
//^ 'a
|
||||
|
||||
}
|
||||
//^ fn test
|
||||
"#,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue