There would likely be no consequences for a student to use sci-hub. In fact, for a student to not use it is foolish, considering that much valuable research that could be used for school assignments is hidden behind paywalls that no student can be reasonably asked to pay.
I could see the argument being made against using sci-hub for a professional research paper, in which the user actually stands to receive some form of profit from their work. But a student can only gain knowledge and assignment completion, with no monetary profit from using this site.
The legality of the site itself is dubious, but there are not likely legal consequences for simply using the site, especially if there is no monetary gain for the user.
Morally, there is much to be said about academic monopolization. Too many publications and companies control knowledge, inflating prices to take advantage of already poor students with few other options. This was a legal question, not a moral one, so I will say no more about it, but I would not take action against the student if I were you.