aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/snapshots/main__collapsible_let_in.snap
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests/snapshots/main__collapsible_let_in.snap')
-rw-r--r--bin/tests/snapshots/main__collapsible_let_in.snap17
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/tests/snapshots/main__collapsible_let_in.snap b/bin/tests/snapshots/main__collapsible_let_in.snap
new file mode 100644
index 0000000..b135abc
--- /dev/null
+++ b/bin/tests/snapshots/main__collapsible_let_in.snap
@@ -0,0 +1,17 @@
1---
2source: bin/tests/main.rs
3expression: "&out"
4
5---
6[W06] Warning: These let-in expressions are collapsible
7 ╭─[data/collapsible_let_in.nix:1:1]
8
9 1 │ ╭───▶ let
10 5 │ │ ╭─▶ let
11 9 │ │ ├─▶ a + b + c + d
12 · │ │ │
13 · │ ╰───────────────────── This let in expression is nested
14 · │ │
15 · ╰───────────────────┴─── This let in expression contains a nested let in expression
16───╯
17