An Illinois law that made individuals with HIV liable for criminal prosecution if they failed to inform partners before unprotected sex was repealed on Tuesday