mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Merge pull request #20516 from hvitved/rust/type-inference-union-pointer-never
Rust: Model union, never, and pointer types
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
illFormedTypeMention
|
||||
| macro_expansion.rs:99:7:99:19 | MyDeriveUnion |
|
||||
@@ -2250,6 +2250,7 @@ inferType
|
||||
| main.rs:1127:43:1127:82 | MacroExpr | | main.rs:1124:15:1124:17 | Snd |
|
||||
| main.rs:1127:50:1127:81 | "PairNone has no second elemen... | | file://:0:0:0:0 | & |
|
||||
| main.rs:1127:50:1127:81 | "PairNone has no second elemen... | &T | {EXTERNAL LOCATION} | str |
|
||||
| main.rs:1127:50:1127:81 | ...::panic_fmt(...) | | file://:0:0:0:0 | ! |
|
||||
| main.rs:1127:50:1127:81 | FormatArgsExpr | | {EXTERNAL LOCATION} | Arguments |
|
||||
| main.rs:1127:50:1127:81 | MacroExpr | | {EXTERNAL LOCATION} | Arguments |
|
||||
| main.rs:1127:50:1127:81 | MacroExpr | | main.rs:1124:15:1124:17 | Snd |
|
||||
@@ -2261,6 +2262,7 @@ inferType
|
||||
| main.rs:1128:43:1128:81 | MacroExpr | | main.rs:1124:15:1124:17 | Snd |
|
||||
| main.rs:1128:50:1128:80 | "PairFst has no second element... | | file://:0:0:0:0 | & |
|
||||
| main.rs:1128:50:1128:80 | "PairFst has no second element... | &T | {EXTERNAL LOCATION} | str |
|
||||
| main.rs:1128:50:1128:80 | ...::panic_fmt(...) | | file://:0:0:0:0 | ! |
|
||||
| main.rs:1128:50:1128:80 | FormatArgsExpr | | {EXTERNAL LOCATION} | Arguments |
|
||||
| main.rs:1128:50:1128:80 | MacroExpr | | {EXTERNAL LOCATION} | Arguments |
|
||||
| main.rs:1128:50:1128:80 | MacroExpr | | main.rs:1124:15:1124:17 | Snd |
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
multipleCallTargets
|
||||
| test.rs:117:9:117:20 | ptr.is_null() |
|
||||
| test.rs:117:9:117:21 | ptr.is_null() |
|
||||
@@ -0,0 +1,7 @@
|
||||
multipleCallTargets
|
||||
| main.rs:242:44:242:78 | ... .cast() |
|
||||
| main.rs:245:44:245:78 | ... .cast() |
|
||||
| main.rs:248:44:248:78 | ... .cast() |
|
||||
| main.rs:251:14:251:48 | ... .cast() |
|
||||
| main.rs:254:14:254:48 | ... .cast() |
|
||||
| main.rs:257:14:257:48 | ... .cast() |
|
||||
Reference in New Issue
Block a user