Skip to content

Commit 7da2845

Browse files
committed
Rust: Uncomment two lines from the test that should now behave deterministically.
1 parent cc63abf commit 7da2845

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| 48 |
1+
| 49 |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| 48 |
1+
| 49 |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
| my_struct.rs:0:0:0:0 | my_struct.rs | 21 |
2+
| main.rs:0:0:0:0 | main.rs | 8 |
23
| my_macro.rs:0:0:0:0 | my_macro.rs | 8 |
3-
| main.rs:0:0:0:0 | main.rs | 7 |
44
| lib.rs:0:0:0:0 | lib.rs | 6 |
55
| does_not_compile.rs:0:0:0:0 | does_not_compile.rs | 3 |
66
| error.rs:0:0:0:0 | error.rs | 3 |
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Elements extracted | 204 |
1+
| Elements extracted | 211 |
22
| Elements unextracted | 0 |
33
| Files extracted | 6 |
4-
| Lines of code extracted | 48 |
5-
| Lines of user code extracted | 48 |
4+
| Lines of code extracted | 49 |
5+
| Lines of user code extracted | 49 |

rust/ql/test/query-tests/diagnostics/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ mod my_macro;
1111
// another comment
1212

1313
fn main() { // another comment
14-
//println!("Hello, world!"); // currently causes consistency issues
14+
println!("Hello, world!");
1515

1616
my_struct::my_func();
1717
my_macro::my_func();

rust/ql/test/query-tests/diagnostics/my_macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
macro_rules! myMacro {
99
() => {
10-
//println!("Hello, world!"); // currently causes consistency issues
10+
println!("Hello, world!");
1111
};
1212
}
1313

0 commit comments

Comments
 (0)