Skip to content

Commit 6edab56

Browse files
authored
Merge pull request #2029 from rust-lang-nursery/rustup
Soft rustup (only fixed some tests)
2 parents 55781f5 + 78f6db9 commit 6edab56

File tree

2 files changed

+47
-59
lines changed

2 files changed

+47
-59
lines changed

Cargo.lock

Lines changed: 46 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/ui/booleans.stderr

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,6 @@ error: this boolean expression can be simplified
4949
18 | let _ = false || a;
5050
| ^^^^^^^^^^ help: try: `a`
5151

52-
error: this boolean expression contains a logic bug
53-
--> $DIR/booleans.rs:20:13
54-
|
55-
20 | let _ = cfg!(you_shall_not_not_pass) && a;
56-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: it would look like the following: `false`
57-
|
58-
help: this expression can be optimized out by applying boolean operations to the outer expression
59-
--> $DIR/booleans.rs:20:45
60-
|
61-
20 | let _ = cfg!(you_shall_not_not_pass) && a;
62-
| ^
63-
6452
error: this boolean expression can be simplified
6553
--> $DIR/booleans.rs:23:13
6654
|
@@ -142,5 +130,5 @@ help: try
142130
39 | let _ = !(a == b && c == d);
143131
| ^^^^^^^^^^^^^^^^^^^
144132

145-
error: aborting due to 14 previous errors
133+
error: aborting due to 13 previous errors
146134

0 commit comments

Comments
 (0)