-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Rust: Handle more explicit type arguments in type inference #19847
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
base: main
Are you sure you want to change the base?
Conversation
9403c2d
to
99bc945
Compare
99bc945
to
e0f16cf
Compare
@@ -529,23 +541,45 @@ | |||
} | |||
} | |||
|
|||
private Locatable getRelevantLocatable() { |
Check warning
Code scanning / CodeQL
Dead code Warning
abstract class Declaration extends AstNode { | ||
abstract TypeParameter getTypeParameter(TypeParameterPosition ppos); | ||
|
||
pragma[nomagic] | ||
abstract Type getParameterType(DeclarationPosition dpos, TypePath path); | ||
|
||
private Type dbggetDeclaredType(DeclarationPosition dpos, TypePath path) { |
Check warning
Code scanning / CodeQL
Dead code Warning
or | ||
result = CallExprImpl::getResolvedFunction(this) | ||
} | ||
|
||
private Declaration dbggetTarget() { |
Check warning
Code scanning / CodeQL
Dead code Warning
@@ -1418,6 +1440,16 @@ | |||
typeConstraintBaseTypeMatch(a, target, path, t, tp) | |||
} | |||
|
|||
private predicate debugtypeMatch( |
Check warning
Code scanning / CodeQL
Dead code Warning
@@ -1474,6 +1506,28 @@ | |||
) | |||
) | |||
} | |||
|
|||
private Type debuginferAccessType( |
Check warning
Code scanning / CodeQL
Dead code Warning
No description provided.