-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Rust: Use canonical paths for variants in data flow #18177
Rust: Use canonical paths for variants in data flow #18177
Conversation
|
||
fn sink(s: i64) { | ||
println!("{}", s); | ||
} |
Check notice
Code scanning / CodeQL
Unused variable Note test
// has a flow model | ||
fn identity(i: i64) -> i64 { | ||
0 | ||
} |
Check notice
Code scanning / CodeQL
Unused variable Note test
// has a flow model | ||
fn get_var_pos(e: MyPosEnum) -> i64 { | ||
0 | ||
} |
Check notice
Code scanning / CodeQL
Unused variable Note test
// has a flow model | ||
fn set_var_pos(i: i64) -> MyPosEnum { | ||
MyPosEnum::A(0) | ||
} |
Check notice
Code scanning / CodeQL
Unused variable Note test
// has a flow model | ||
fn get_var_field(e: MyFieldEnum) -> i64 { | ||
0 | ||
} |
Check notice
Code scanning / CodeQL
Unused variable Note test
// has a flow model | ||
fn set_var_field(i: i64) -> MyFieldEnum { | ||
MyFieldEnum::C { field_c: 0 } | ||
} |
Check notice
Code scanning / CodeQL
Unused variable Note test
result.asLibraryCallable() = this.getSummarizedCallable() | ||
} | ||
|
||
override EmptyLocation getLocation() { any() } |
Check warning
Code scanning / CodeQL
Override with unmentioned parameter Warning
result
0ebb933
to
2a68e19
Compare
2a68e19
to
3c767b0
Compare
Follow-up to #18083 and #18078.