Content-Length: 277873 | pFad | http://github.com/github/codeql/pull/20041/commits/7f8829ad8ea2ab5e700f45f0abec86cd77ac6c67

FD Rust: Type inference for tuples by paldepind · Pull Request #20041 · github/codeql · GitHub
Skip to content

Rust: Type inference for tuples #20041

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 23, 2025
Prev Previous commit
Next Next commit
Rust: Add additional inline expectation
Co-authored-by: Arthur Baars <aibaars@github.com>
  • Loading branch information
paldepind and aibaars authored Jul 16, 2025
commit 7f8829ad8ea2ab5e700f45f0abec86cd77ac6c67
2 changes: 1 addition & 1 deletion rust/ql/test/library-tests/type-inference/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/github/codeql/pull/20041/commits/7f8829ad8ea2ab5e700f45f0abec86cd77ac6c67

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy