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