summaryrefslogtreecommitdiff
path: root/test/snapshots/callstack.golden
blob: 2970593d3be800a9909222c341d30f9f072b2150 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
== snap hierarchy grid=110x40 cursor=7,11
|  Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config Debug Exit
|  New Tty Find Grep Joincol Delcol
|  /tmp/pardes-snap/callstack/cwd/main.rs Save Tty Collapse TreeContext Def Refs Del
|     1 mod lib;                                                            --:--:--  lsp rust-analyzer: ready
|     2
|     3 fn main() {
|     4     let x = add(1, 2);
|     5     let y = add(3, 4);
|     6     let _ = x + y;
|     7 }
|  /tmp/pardes-snap/callstack/cwd/+Callstack Save Tty Collapse Del
|     1 ╰──┬ main.rs:3:4-7
|     2    │ fn main() {
|     3    ├─ main.rs:4:13-15
|     4    │  let x = add(1, 2);
|     5    ├─ main.rs:5:13-15
|     6    │  let y = add(3, 4);
|     7    ╰──┬ main.rs:3:4-7
|     8       │ fn main() {  ↻ recursion
|     9       ├─ main.rs:4:13-15
|    10       │  let x = add(1, 2);
|    11       ╰─ main.rs:5:13-15
|    12          let y = add(3, 4);
|    13
== snap caller grid=110x40 cursor=13,5
|3:      1 mod lib;