The syntax::common is the only thing that remains from when we had separate tst and ast and cst namespaces in the syntax module. There was very little code left in common, which has a more logical place in the ast namespace.
Also:
Rename HasTypeInfo to HasType. The old name was due to the TypeInfo which once existed.
Organize all the syntactic traits in ast::traits::*.
In all, this is just the last cleanup from the reorganization of the syntax crate.
The
syntax::common
is the only thing that remains from when we had separatetst
andast
andcst
namespaces in the syntax module. There was very little code left incommon
, which has a more logical place in theast
namespace.Also:
HasTypeInfo
toHasType
. The old name was due to theTypeInfo
which once existed.ast::traits::*
.In all, this is just the last cleanup from the reorganization of the syntax crate.