I think using keyword type to define new types big mistake, because the type can be in anything struct. (Type of order, type of filed). Now I shold write type_ insted of type becouse is keyword. I propouse rename type to typedef in the next big language iteration. Is such a change possible? Should I write rfc?
I might be mistaken, but it seems extremely unlikely that such a change would be accepted. It would cause massive churn, and the only benefit would be to free up a new identifier. For the particular issue you mentioned, the common solution is
ty or kind insteadtype, you can use raw idents: r#typeI think it's safe to say that we are not renaming type aliases to typedefs even in an edition since it would bring a large amount of churn for little gain. I'll go ahead and close this since I expect the rest of the team to agree.
Most helpful comment
I might be mistaken, but it seems extremely unlikely that such a change would be accepted. It would cause massive churn, and the only benefit would be to free up a new identifier. For the particular issue you mentioned, the common solution is
tyorkindinsteadtype, you can use raw idents:r#type