-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17803 from paldepind/unreachable2
Rust: More test cases for rust/dead-code
- Loading branch information
Showing
4 changed files
with
98 additions
and
16 deletions.
There are no files selected for viewing
35 changes: 21 additions & 14 deletions
35
rust/ql/test/query-tests/unusedentities/UnreachableCode.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
| unreachable.rs:12:3:12:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:20:3:20:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:32:3:32:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:39:3:39:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:60:2:60:16 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:106:16:106:23 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:114:15:114:22 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:130:2:130:16 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:140:2:140:16 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:147:3:147:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:156:4:156:18 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:162:3:162:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:168:4:168:18 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:171:2:171:16 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:13:3:13:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:21:3:21:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:33:3:33:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:40:3:40:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:61:2:61:16 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:107:16:107:23 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:115:15:115:22 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:131:2:131:16 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:141:2:141:16 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:148:3:148:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:157:4:157:18 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:163:3:163:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:169:4:169:18 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:177:4:177:18 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:180:2:180:16 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:197:2:197:16 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:203:3:203:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:206:2:206:16 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:218:3:218:17 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:233:2:233:16 | ExprStmt | This code is never reached. | | ||
| unreachable.rs:242:2:242:16 | ExprStmt | This code is never reached. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters