diff options
author | Aleksey Kladov <[email protected]> | 2019-02-18 07:09:44 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-18 07:09:44 +0000 |
commit | 4e8a3f565b5c48bb82051bdff4349786d8b716f5 (patch) | |
tree | fa7f8ae7978d991b86d6c09b7ead9c9f7f94dbd2 /crates/ra_hir/src/ty/tests.rs | |
parent | b5df9656245079d3dc4457ae326f9710ff58a298 (diff) |
handle != operator
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; |