Add the necessary feature gate for slicing syntax.