There's a transmute from `uint` to that enum a few lines farther down, in the `enum_set::CLike` impl; without the attribute, it won't compile.