mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Rust: Add additional inline expectation
Co-authored-by: Arthur Baars <aibaars@github.com>
This commit is contained in:
committed by
GitHub
parent
bbd7ed57ce
commit
7f8829ad8e
@@ -2358,7 +2358,7 @@ mod tuples {
|
||||
let i: i64 = pair.0;
|
||||
let j: bool = pair.1;
|
||||
|
||||
let pair = [1, 1].into(); // $ type=pair:0(2).i32 type=pair:1(2).i32 MISSING: target=into
|
||||
let pair = [1, 1].into(); // $ type=pair:(T_2) type=pair:0(2).i32 type=pair:1(2).i32 MISSING: target=into
|
||||
match pair {
|
||||
(0,0) => print!("unexpected"),
|
||||
_ => print!("expected"),
|
||||
|
||||
Reference in New Issue
Block a user