aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/snapshots/main__bool_simplification.snap
blob: 9e3c9910030580e0010634355772faad0ab0b6d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
source: bin/tests/main.rs
expression: "&out"

---
[W18] Warning: This boolean expression can be simplified
   ╭─[data/bool_simplification.nix:2:7]
   │
 2 │   _ = !(a == b);
   ·       ────┬────  
   ·           ╰────── Try != instead of !(... == ...)
───╯