diff options
Diffstat (limited to 'bin/tests/snapshots/main__faster_zipattrswith.snap')
-rw-r--r-- | bin/tests/snapshots/main__faster_zipattrswith.snap | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/tests/snapshots/main__faster_zipattrswith.snap b/bin/tests/snapshots/main__faster_zipattrswith.snap new file mode 100644 index 0000000..6b21322 --- /dev/null +++ b/bin/tests/snapshots/main__faster_zipattrswith.snap | |||
@@ -0,0 +1,20 @@ | |||
1 | --- | ||
2 | source: bin/tests/main.rs | ||
3 | expression: "&out" | ||
4 | |||
5 | --- | ||
6 | [W16] Warning: Found lib.zipAttrsWith | ||
7 | ╭─[data/faster_zipattrswith.nix:3:7] | ||
8 | │ | ||
9 | 3 │ _ = lib.zipAttrsWith (name: values: values) [{ a = 1; } { a = 2; b = 3; }]; | ||
10 | · ────────┬─────── | ||
11 | · ╰───────── Prefer builtins.zipAttrsWith over lib.zipAttrsWith | ||
12 | ───╯ | ||
13 | [W16] Warning: Found lib.zipAttrsWith | ||
14 | ╭─[data/faster_zipattrswith.nix:6:7] | ||
15 | │ | ||
16 | 6 │ _ = nixpkgs.lib.zipAttrsWith (name: values: values) [{ a = 1; } { a = 2; b = 3; }]; | ||
17 | · ────────────┬─────────── | ||
18 | · ╰───────────── Prefer builtins.zipAttrsWith over nixpkgs.lib.zipAttrsWith | ||
19 | ───╯ | ||
20 | |||