Sorry, it’s not clear what your question is, or how it’s related to that previous post.
Both of these programs compile and run successfully. If you’re getting an error, can you describe exactly what you did that led to the error (including which commands you ran, and what the inputs and source files were)?
Thank you Sir, Both work fine on command line Cargo. But fail for single println!() in Rustrover. Can you kindly check in Rustrover, Sir if you do not mind.
Rustrover is a commercial product, so to get help you may have better luck filing an issue with Jetbrains, or searching for an existing issue.
Note that Rustrover does not use RustAnalyzer in their IDE. Many other editors (Vim, Emacs, Helix, VSCode) can be configured to use RustAnalyzer, and this is what many people here are doing. So the code (bugs, behavior, etc) is different in Rustrover than what many people here are using.