Language focus
AI code review for Rust
Rust removes whole classes of memory bugs, leaving logic, concurrency, unsafe blocks, FFI boundaries, and API misuse as the sharper review targets for teams shipping performance-critical stacks.
Where CodeCritic concentrates for Rust
- `unsafe` blocks that hide precondition contracts reviewers must understand before approving.
- Async executor assumptions, `Send`/`Sync` escapes, and lock ordering pitfalls across await points.
- FFI layering with C assemblies - mismatched lifetime annotations and ABI footguns.
- Abstraction debt: generics and macros dense enough that intent blurs despite passing `cargo check`.
Cargo and clippy remain authoritative - treat AI feedback as narration and prioritization help, especially around cross-crate semantics.