Skip to content

Commit 34759b0

Browse files
author
Paolo Tranquilli
committed
Rust: fix back type-inference.expected
1 parent 31190b7 commit 34759b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/ql/test/library-tests/type-inference/type-inference.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
testFailures
2-
| main.rs:1249:26:1249:53 | //... | Missing result: method=abs |
3-
| main.rs:1249:26:1249:53 | //... | Missing result: type=z:i32 |
42
inferType
53
| loop/main.rs:7:12:7:15 | SelfParam | | loop/main.rs:6:1:8:1 | Self [trait T1] |
64
| loop/main.rs:11:12:11:15 | SelfParam | | loop/main.rs:10:1:14:1 | Self [trait T2] |
@@ -1589,7 +1587,9 @@ inferType
15891587
| main.rs:1248:17:1248:17 | x | | file:///BUILTINS/types.rs:12:1:12:15 | i32 |
15901588
| main.rs:1248:17:1248:21 | ... + ... | | file:///BUILTINS/types.rs:12:1:12:15 | i32 |
15911589
| main.rs:1248:21:1248:21 | y | | file:///BUILTINS/types.rs:12:1:12:15 | i32 |
1590+
| main.rs:1249:13:1249:13 | z | | file:///BUILTINS/types.rs:12:1:12:15 | i32 |
15921591
| main.rs:1249:17:1249:17 | x | | file:///BUILTINS/types.rs:12:1:12:15 | i32 |
1592+
| main.rs:1249:17:1249:23 | x.abs() | | file:///BUILTINS/types.rs:12:1:12:15 | i32 |
15931593
| main.rs:1250:13:1250:13 | c | | file:///BUILTINS/types.rs:6:1:7:16 | char |
15941594
| main.rs:1250:17:1250:19 | 'c' | | file:///BUILTINS/types.rs:6:1:7:16 | char |
15951595
| main.rs:1251:13:1251:17 | hello | | file:///BUILTINS/types.rs:8:1:8:15 | str |

0 commit comments

Comments
 (0)