Yes, cut converting to a raw type is always allowed. Converting a raw type would create an unchecked warning.