If you find this interesting, you should check out RustLex, which makes writing a lexer in Rust incredibly simple through judicious use of Rust macros:
Well, you'd never see the compiled example. You'd compile the example in the README, and it'd give you a binary. It's a macro, not like CoffeeScript.
That said, you could view the expanded output if you were curious. You'd pass `--pretty expanded` to `rustc`. The pretty printer isn't great yet, though. I would run it for you and give you a gist, but I'm not at a computer with the toolchain either.
Yeah, the implementation is literally just a token-by-token transliteration into Rust, just hoping that LLVM makes it go fast (and it does go pretty fast, e.g. it's faster than bff4[1], which Esolangs[2] touts as the fastest interpreter). The Rust output & optimised IR clearly show there's room for improvement, though.
https://github.com/LeoTestard/rustlex