Skip to content

Rust: Simple type inference for index expressions #19657

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Jun 3, 2025

No description provided.

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Jun 3, 2025
@hvitved hvitved force-pushed the rust/type-inference-index-expr-simple branch from aefab5f to 214079f Compare June 3, 2025 17:20
@hvitved hvitved force-pushed the rust/type-inference-index-expr-simple branch from 214079f to 2652887 Compare June 4, 2025 08:16
* [1]: https://doc.rust-lang.org/reference/expressions/array-expr.html#r-expr.array.index
*/
pragma[nomagic]
private Type inferIndexExprType(IndexExpr ie, TypePath path) {

Check warning

Code scanning / CodeQL

Missing QLDoc for parameter Warning

The QLDoc has no documentation for ie, or path, but the QLDoc mentions usize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant