u8
is a type like any other, and types can be shadowed or share the same name with variable names. This is true for primitive types just like custom types such as Result
or Box
. Why do you think that primitive types should get special treatment? And if primitive types become reserved words, doesn't this imply that other lang items such as Drop
, Deref
or PhantomData
should be reserved too?
8 Likes