There must be something wrong with me with respect to IDEs. Felt relief after uninstalling the fancy Rust LSP thing for emacs and going back to the basic syntax highlighting thing.