Student loans are subject to special treatment under the Bankruptcy and Insolvency Act. In order for government student loan debt to be released in a bankruptcy, your final date of study has to be more than seven years ago. Student lines of credit are not dealt with in the same way. The issue with student lines of credit is that they are often co-signed by someone else.