@@ -4,21 +4,21 @@ error: unexpected `for_you` after identifier
4
4
LL | if not for_you {
5
5
| ----^^^^^^^
6
6
| |
7
- | help: use `!` to perform logical negation
7
+ | help: use `!` to perform bitwise not
8
8
9
9
error: unexpected `the_worst` after identifier
10
10
--> $DIR/issue-46836-identifier-not-instead-of-negation.rs:11:15
11
11
|
12
12
LL | while not the_worst {
13
13
| ----^^^^^^^^^
14
14
| |
15
- | help: use `!` to perform logical negation
15
+ | help: use `!` to perform bitwise not
16
16
17
17
error: unexpected `println` after identifier
18
18
--> $DIR/issue-46836-identifier-not-instead-of-negation.rs:20:9
19
19
|
20
20
LL | if not // lack of braces is [sic]
21
- | ----- help: use `!` to perform logical negation
21
+ | ----- help: use `!` to perform bitwise not
22
22
LL | println!("Then when?");
23
23
| ^^^^^^^
24
24
@@ -42,15 +42,15 @@ error: unexpected `2` after identifier
42
42
LL | let resource = not 2;
43
43
| ----^
44
44
| |
45
- | help: use `!` to perform logical negation
45
+ | help: use `!` to perform bitwise not
46
46
47
47
error: unexpected `be_smothered_out_before` after identifier
48
48
--> $DIR/issue-46836-identifier-not-instead-of-negation.rs:32:27
49
49
|
50
50
LL | let young_souls = not be_smothered_out_before;
51
51
| ----^^^^^^^^^^^^^^^^^^^^^^^
52
52
| |
53
- | help: use `!` to perform logical negation
53
+ | help: use `!` to perform bitwise not
54
54
55
55
error: aborting due to 6 previous errors
56
56
0 commit comments