Why isn't Cursor detecting static analysis results?

Why isn’t Cursor detecting these issues (detected by rust-analyzer):

Hey, this is likely a configuration issue with your extensions or compiler settings, as Cursor does not do any static analysis on Rust out the box.