I'm working on some procedural macros in Rust and I use vim-lsp to help me write Rust. I find it very helpful when the compiler error suggests a change to fix an error and I can use a quick action to apply the fix.
In my proc macros, I use syn::Error
to provide spanned compiler errors for users of my macros. Is there any way for me to encode quick fixes into my compiler errors?