Skip to content

Soft rustup (only fixed some tests) #2029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 46 additions & 46 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 1 addition & 13 deletions tests/ui/booleans.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@ error: this boolean expression can be simplified
18 | let _ = false || a;
| ^^^^^^^^^^ help: try: `a`

error: this boolean expression contains a logic bug
--> $DIR/booleans.rs:20:13
|
20 | let _ = cfg!(you_shall_not_not_pass) && a;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: it would look like the following: `false`
|
help: this expression can be optimized out by applying boolean operations to the outer expression
--> $DIR/booleans.rs:20:45
|
20 | let _ = cfg!(you_shall_not_not_pass) && a;
| ^

error: this boolean expression can be simplified
--> $DIR/booleans.rs:23:13
|
Expand Down Expand Up @@ -142,5 +130,5 @@ help: try
39 | let _ = !(a == b && c == d);
| ^^^^^^^^^^^^^^^^^^^

error: aborting due to 14 previous errors
error: aborting due to 13 previous errors