| 23 | } |
| 24 | |
| 25 | fn direct(call: &BoundCall<'_>) -> DirectCall { |
| 26 | DirectCall { |
| 27 | caller: call.call.caller.clone(), |
| 28 | callee: call.symbol.id.clone(), |
| 29 | location: (&call.call.location).into(), |
| 30 | declaration: (&call.symbol.location).into(), |
| 31 | binding: call.reason.clone(), |
| 32 | arguments: call.call.arguments, |
| 33 | target_present: call.present, |
| 34 | visibility_compatible: call.accessible, |
| 35 | configuration_dependent: call.configuration_dependent, |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | fn compatible(call: &BoundCall<'_>) -> Option<bool> { |
| 40 | let arguments = call.call.arguments?; |