Environment Canada warns up to 40 mm of rain and melting snow could lead to flooding and hazardous driving conditions in parts of Ontario.