Judging by the number of vulnerabilities that continue to be found every freaking year due to easily preventable problems, it seems nobody has learned how to program in C to this day. Yourself included.
Having said that, Rust is a C++ replacement not a C replacement. The biggest selling point of C is being the thing every other language talks and running everywhere including embedded devices with crappy custom compilers.
With both Rust and C++ you still need to write extern "C" wrappers which are suboptimal, even when partially automated, and neither runs everywhere.