What types of Macros/Syntax Extensions/Compiler Plugins are there?
问题 I am very confused by the many terms used for several macro-like things in the Rust ecosystem. Could someone clarify what macros/syntax extensions/compiler plugins there are as well as explain the relationship between those terms? 回答1: You are right: it is confusing. Especially, because most of those features are unstable and change fairly often. But I'll try to summarize the current situation ( December 2016 ). Let's start with the Syntax Extension : it's something that has to be "called" or