1 error: case-sensitive file extension comparison
2 --> $DIR/case_sensitive_file_extension_comparisons.rs:12:14
4 LL | filename.ends_with(".rs")
7 = note: `-D clippy::case-sensitive-file-extension-comparisons` implied by `-D warnings`
8 = help: consider using a case-insensitive comparison instead
10 error: case-sensitive file extension comparison
11 --> $DIR/case_sensitive_file_extension_comparisons.rs:17:30
13 LL | let _ = String::from("").ends_with(".ext12");
16 = help: consider using a case-insensitive comparison instead
18 error: case-sensitive file extension comparison
19 --> $DIR/case_sensitive_file_extension_comparisons.rs:18:19
21 LL | let _ = "str".ends_with(".ext12");
24 = help: consider using a case-insensitive comparison instead
26 error: case-sensitive file extension comparison
27 --> $DIR/case_sensitive_file_extension_comparisons.rs:24:30
29 LL | let _ = String::from("").ends_with(".EXT12");
32 = help: consider using a case-insensitive comparison instead
34 error: case-sensitive file extension comparison
35 --> $DIR/case_sensitive_file_extension_comparisons.rs:25:19
37 LL | let _ = "str".ends_with(".EXT12");
40 = help: consider using a case-insensitive comparison instead
42 error: aborting due to 5 previous errors