Removed unused import.
Port borrowck check_loans from oldvisit to @Visitor trait object API.