> Rust's trait system is Turing complete
has anyone tried implementing rust in rust's trait system
has anyone tried implementing rust in rust's trait system
Turing completeness means using the syntax of your favorite programming language is "merely" a matter of writing the appropriate program.
What GP is proposing is completely impractical, of course. But not unreasonable, and certainly not impossible.
That doesn't mean that the OP's hack can be used today, or even tomorrow for compiling-Rust-in-Rust. But you could, in theory, do so.
Encoding the inputs/outputs for a given TC system may be a pain, but that is irrelevant to expressiveness power.
In fact, in most cases, when you hear the TC claim it is about an exotic system :)