A student loan discharge in bankruptcy means that you no longer owe anything related to the student loans that were discharged. Alternatively, student loan forgiveness, like from a twenty-five-year income-based repayment plan, will get rid of the student loans forgiven but may have a tax consequence following the forgiveness.
For example, if you get forgiveness of $30,000.00 of student loan debt, when you go to file taxes for that year, you may have to claim the forgiven amount as income and pay taxes on it.  In some cases, this could lead to a significant tax burden. However, a student loan discharge in bankruptcy does not become taxable.  You simply don’t owe the debt.