blob: 08653325befdf66b6efbdfd15adac108055f841a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
---
source: bin/tests/main.rs
expression: "&out"
---
[W01] Warning: Unnecessary comparison with boolean
╭─[data/bool_comparison.nix:3:4]
│
3 │ (a == true)
· ────┬────
· ╰────── Comparing a with boolean literal true
───╯
[W01] Warning: Unnecessary comparison with boolean
╭─[data/bool_comparison.nix:4:4]
│
4 │ (b == true)
· ────┬────
· ╰────── Comparing b with boolean literal true
───╯
[W01] Warning: Unnecessary comparison with boolean
╭─[data/bool_comparison.nix:5:4]
│
5 │ (true == c)
· ────┬────
· ╰────── Comparing c with boolean literal true
───╯
[W01] Warning: Unnecessary comparison with boolean
╭─[data/bool_comparison.nix:6:4]
│
6 │ (true == d)
· ────┬────
· ╰────── Comparing d with boolean literal true
───╯
[W01] Warning: Unnecessary comparison with boolean
╭─[data/bool_comparison.nix:9:4]
│
9 │ (e != true)
· ────┬────
· ╰────── Comparing e with boolean literal true
───╯
[W01] Warning: Unnecessary comparison with boolean
╭─[data/bool_comparison.nix:10:4]
│
10 │ (f != false)
· ─────┬────
· ╰────── Comparing f with boolean literal false
────╯
[W01] Warning: Unnecessary comparison with boolean
╭─[data/bool_comparison.nix:11:4]
│
11 │ (true != g)
· ────┬────
· ╰────── Comparing g with boolean literal true
────╯
[W01] Warning: Unnecessary comparison with boolean
╭─[data/bool_comparison.nix:12:4]
│
12 │ (false != h)
· ─────┬────
· ╰────── Comparing h with boolean literal false
────╯
|