aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/snapshots/main__manual_inherit.snap
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests/snapshots/main__manual_inherit.snap')
-rw-r--r--bin/tests/snapshots/main__manual_inherit.snap13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/tests/snapshots/main__manual_inherit.snap b/bin/tests/snapshots/main__manual_inherit.snap
new file mode 100644
index 0000000..063867c
--- /dev/null
+++ b/bin/tests/snapshots/main__manual_inherit.snap
@@ -0,0 +1,13 @@
1---
2source: bin/tests/main.rs
3expression: "&out"
4
5---
6[W03] Warning: Assignment instead of inherit
7 ╭─[data/manual_inherit.nix:7:3]
8
9 7 │ a = a;
10 · ───┬──
11 · ╰──── This assignment is better written with inherit
12───╯
13