Is Rust really safe? How to identify functions that can potentially cause panic

51 points felipelalli

Hey everyone, I'm new to Rust and I've been hearing a lot about how it's a safe language. However, I believe that using any function that can potentially cause "panic" can be unsafe most of the time. Even the documentation advises against it, but the compiler doesn't provide any warning (by default). Is there a command in Cargo or a plugin in VS Code that can point me to functions that may potentially cause panic by using another function that can also cause panic?