If this was C++ I would agree:
type Quantity = i32;
this would creates a new variable of type “type” and assigns i32 to it. It’s perfectly reasonable that this creates an alias, not a new type, like:
int value = 32;
this does not create an entirely new integer value that didn’t exist before but it’s just an alias. You can use value and 32 interchangeably. (Of course you cannot create entirely new int values at all)
But rust ist not C++, so the correct syntax for aliases (type variables) should be:
let Quantity: type = i32;