We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da97004 commit c7fbcf4Copy full SHA for c7fbcf4
tests/ui/cognitive_complexity.rs
@@ -448,3 +448,20 @@ mod issue9300 {
448
}
449
450
451
+
452
+#[clippy::cognitive_complexity = "2"]
453
+mod issue14422 {
454
+ fn foo() {
455
+ for _ in 0..10 {
456
+ println!("hello there");
457
+ }
458
459
460
+ fn bar() {
461
462
463
464
+ return;
465
466
467
+}
0 commit comments