South Carolina's treasurer and House speaker are opposing the Senate's version of a bill restructuring state government, saying they worry that the way it handles the state retirement system and long-term debt could erode the state's credit rating.