Stop using ~[] for attributes.
Pass a slice to fail!().