Skip to content

Commit

Permalink
Rust: fix utf8 test
Browse files Browse the repository at this point in the history
  • Loading branch information
aibaars committed Oct 6, 2024
1 parent 8639a3f commit 86f85bb
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 41 deletions.

This file was deleted.

68 changes: 32 additions & 36 deletions rust/ql/test/extractor-tests/utf8/ast.expected
Original file line number Diff line number Diff line change
@@ -1,37 +1,33 @@
| lib.rs:1:1:2:22 | SourceFile |
| lib.rs:2:1:2:8 | Module |
| lib.rs:2:5:2:8 | Name |
| lib.rs:2:10:2:20 | NameRef |
| lib.rs:2:10:2:20 | Path |
| lib.rs:2:10:2:20 | PathSegment |
| lib.rs:2:10:2:21 | MacroCall |
| utf8-identifiers.rs:1:1:4:6 | foo |
| utf8-identifiers.rs:1:1:12:2 | SourceFile |
| utf8-identifiers.rs:1:4:1:6 | Name |
| utf8-identifiers.rs:1:7:4:1 | GenericParamList |
| utf8-identifiers.rs:2:5:2:6 | Lifetime |
| utf8-identifiers.rs:2:5:2:6 | LifetimeParam |
| utf8-identifiers.rs:3:5:3:5 | Name |
| utf8-identifiers.rs:3:5:3:5 | TypeParam |
| utf8-identifiers.rs:4:2:4:3 | ParamList |
| utf8-identifiers.rs:4:5:4:6 | BlockExpr |
| utf8-identifiers.rs:4:5:4:6 | StmtList |
| utf8-identifiers.rs:6:1:8:1 | Struct |
| utf8-identifiers.rs:6:8:6:8 | Name |
| utf8-identifiers.rs:6:10:8:1 | RecordFieldList |
| utf8-identifiers.rs:7:5:7:5 | Name |
| utf8-identifiers.rs:7:5:7:13 | RecordField |
| utf8-identifiers.rs:7:9:7:13 | NameRef |
| utf8-identifiers.rs:7:9:7:13 | Path |
| utf8-identifiers.rs:7:9:7:13 | PathSegment |
| utf8-identifiers.rs:7:9:7:13 | PathType |
| utf8-identifiers.rs:10:1:10:3 | Visibility |
| utf8-identifiers.rs:10:1:12:1 | main |
| utf8-identifiers.rs:10:8:10:11 | Name |
| utf8-identifiers.rs:10:12:10:13 | ParamList |
| utf8-identifiers.rs:10:15:12:1 | BlockExpr |
| utf8-identifiers.rs:10:15:12:1 | StmtList |
| utf8-identifiers.rs:11:5:11:24 | LetStmt |
| utf8-identifiers.rs:11:9:11:9 | Name |
| utf8-identifiers.rs:11:9:11:9 | \u03b1 |
| utf8-identifiers.rs:11:14:11:23 | 0.00001f64 |
| lib.rs:2:1:2:21 | Module |
| lib.rs:2:5:2:20 | Name |
| utf8_identifiers.rs:1:1:4:6 | foo |
| utf8_identifiers.rs:1:1:12:2 | SourceFile |
| utf8_identifiers.rs:1:4:1:6 | Name |
| utf8_identifiers.rs:1:7:4:1 | GenericParamList |
| utf8_identifiers.rs:2:5:2:6 | Lifetime |
| utf8_identifiers.rs:2:5:2:6 | LifetimeParam |
| utf8_identifiers.rs:3:5:3:5 | Name |
| utf8_identifiers.rs:3:5:3:5 | TypeParam |
| utf8_identifiers.rs:4:2:4:3 | ParamList |
| utf8_identifiers.rs:4:5:4:6 | BlockExpr |
| utf8_identifiers.rs:4:5:4:6 | StmtList |
| utf8_identifiers.rs:6:1:8:1 | Struct |
| utf8_identifiers.rs:6:8:6:8 | Name |
| utf8_identifiers.rs:6:10:8:1 | RecordFieldList |
| utf8_identifiers.rs:7:5:7:5 | Name |
| utf8_identifiers.rs:7:5:7:13 | RecordField |
| utf8_identifiers.rs:7:9:7:13 | NameRef |
| utf8_identifiers.rs:7:9:7:13 | Path |
| utf8_identifiers.rs:7:9:7:13 | PathSegment |
| utf8_identifiers.rs:7:9:7:13 | PathType |
| utf8_identifiers.rs:10:1:10:3 | Visibility |
| utf8_identifiers.rs:10:1:12:1 | main |
| utf8_identifiers.rs:10:8:10:11 | Name |
| utf8_identifiers.rs:10:12:10:13 | ParamList |
| utf8_identifiers.rs:10:15:12:1 | BlockExpr |
| utf8_identifiers.rs:10:15:12:1 | StmtList |
| utf8_identifiers.rs:11:5:11:24 | LetStmt |
| utf8_identifiers.rs:11:9:11:9 | Name |
| utf8_identifiers.rs:11:9:11:9 | \u03b1 |
| utf8_identifiers.rs:11:14:11:23 | 0.00001f64 |

0 comments on commit 86f85bb

Please sign in to comment.