It's my first time in the internals of Rust, so I may have made a mistake here, but the code compiles and the tests all pass. The only thing I'm really unsure about is whether I'm using the correct constant for the ctxt member of the syntax::codemap::Span struct, but NO_EXPANSION probably seems the safest for now.
It's my first time in the internals of Rust, so I may have made a mistake here, but the code compiles and the tests all pass. The only thing I'm really unsure about is whether I'm using the correct constant for the
ctxt
member of thesyntax::codemap::Span
struct, butNO_EXPANSION
probably seems the safest for now.