]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/suspicious_unary_op_formatting.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / suspicious_unary_op_formatting.stderr
CommitLineData
f20569fa
XL
1error: by not having a space between `>` and `-` it looks like `>-` is a single operator
2 --> $DIR/suspicious_unary_op_formatting.rs:8:9
3 |
4LL | if a >- 30 {}
5 | ^^^^
6 |
7 = note: `-D clippy::suspicious-unary-op-formatting` implied by `-D warnings`
8 = help: put a space between `>` and `-` and remove the space after `-`
9
10error: by not having a space between `>=` and `-` it looks like `>=-` is a single operator
11 --> $DIR/suspicious_unary_op_formatting.rs:9:9
12 |
13LL | if a >=- 30 {}
14 | ^^^^^
15 |
16 = help: put a space between `>=` and `-` and remove the space after `-`
17
18error: by not having a space between `&&` and `!` it looks like `&&!` is a single operator
19 --> $DIR/suspicious_unary_op_formatting.rs:14:9
20 |
21LL | if b &&! c {}
22 | ^^^^^
23 |
24 = help: put a space between `&&` and `!` and remove the space after `!`
25
26error: by not having a space between `>` and `-` it looks like `>-` is a single operator
27 --> $DIR/suspicious_unary_op_formatting.rs:16:9
28 |
29LL | if a >- 30 {}
30 | ^^^^^^
31 |
32 = help: put a space between `>` and `-` and remove the space after `-`
33
34error: aborting due to 4 previous errors
35