diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-18 09:13:51 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-18 09:13:51 +0000 |
commit | 564ab84b787cca0f5994451eb2ce9e1ba8c9d974 (patch) | |
tree | c7800634187e6ad9be17c8b728aec6c5fb94e853 /crates/ra_hir/src/ty/tests.rs | |
parent | 3dfb16be69ff26519774ea3843f36b622b8bed0f (diff) | |
parent | 4e8a3f565b5c48bb82051bdff4349786d8b716f5 (diff) |
Merge #852
852: Handle != r=flodiebold a=matklad
r? @flodiebold
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/ty/tests.rs')
-rw-r--r-- | crates/ra_hir/src/ty/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/tests.rs b/crates/ra_hir/src/ty/tests.rs index 5eb9c4f5b..4ab442b8a 100644 --- a/crates/ra_hir/src/ty/tests.rs +++ b/crates/ra_hir/src/ty/tests.rs | |||
@@ -239,6 +239,7 @@ fn test() -> bool { | |||
239 | let x = a && b; | 239 | let x = a && b; |
240 | let y = true || false; | 240 | let y = true || false; |
241 | let z = x == y; | 241 | let z = x == y; |
242 | let t = x != y; | ||
242 | let minus_forty: isize = -40isize; | 243 | let minus_forty: isize = -40isize; |
243 | let h = minus_forty <= CONST_2; | 244 | let h = minus_forty <= CONST_2; |
244 | let c = f(z || y) + 5; | 245 | let c = f(z || y) + 5; |