I just started learning Rust and it’s been so much fun. I love how the compiler feels like a peer — always guiding me toward safe, correct code.
It got me thinking: what if we could plug a local LLM into the compiler, so error messages weren’t just syntax-aware, but intent-aware?
In this example, I was experimenting with a const using a hyphen in the name (which is parsed as subtraction). The compiler gave helpful feedback — but didn’t hint I might've meant an underscore.
What if Rust had a mode that could say: “Hey, looks like you're naming a variable — try using _ instead of -”?
Crazy idea? Or can Rust become RustAI? 🤖🦀


