aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/snapshots/main__empty_pattern.snap
blob: 3ea7ae03ff3f35f006777cd307e89daca0641119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
source: bin/tests/main.rs
expression: "&out"

---
[W10] Warning: Found empty pattern in function argument
   ╭─[data/empty_pattern.nix:3:4]
   │
 3 │   ({ ... }: 42)
   ·    ───┬───  
   ·       ╰───── This pattern is empty, use _ instead
───╯
[W11] Warning: Found redundant pattern bind in function argument
   ╭─[data/empty_pattern.nix:7:4]
   │
 7 │   ({ ... } @ inputs: inputs)
   ·    ────────┬───────  
   ·            ╰───────── This pattern bind is redundant, use inputs instead
───╯