Not that I agree with your point, but cyclomatic complexity checks are actually implemented as a compiler plugin in rust-clippy project[1]. You&#x27;ll get a compile time warning if your function becomes too complex.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;Manishearth&#x2F;rust-clippy&#x2F;wiki#cyclomatic_complexity" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Manishearth&#x2F;rust-clippy&#x2F;wiki#cyclomatic_c...</a>