2021-01-30 11:06:34 -06:00
|
|
|
error: case-sensitive file extension comparison
|
|
|
|
--> $DIR/case_sensitive_file_extension_comparisons.rs:12:14
|
|
|
|
|
|
|
|
|
LL | filename.ends_with(".rs")
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider using a case-insensitive comparison instead
|
2022-09-22 11:04:22 -05:00
|
|
|
= note: `-D clippy::case-sensitive-file-extension-comparisons` implied by `-D warnings`
|
2021-01-30 11:06:34 -06:00
|
|
|
|
|
|
|
error: case-sensitive file extension comparison
|
2022-08-31 08:24:45 -05:00
|
|
|
--> $DIR/case_sensitive_file_extension_comparisons.rs:17:27
|
2021-01-30 11:06:34 -06:00
|
|
|
|
|
2022-08-31 08:24:45 -05:00
|
|
|
LL | let _ = String::new().ends_with(".ext12");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
2021-01-30 11:06:34 -06:00
|
|
|
|
|
|
|
|
= help: consider using a case-insensitive comparison instead
|
|
|
|
|
|
|
|
error: case-sensitive file extension comparison
|
|
|
|
--> $DIR/case_sensitive_file_extension_comparisons.rs:18:19
|
|
|
|
|
|
|
|
|
LL | let _ = "str".ends_with(".ext12");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider using a case-insensitive comparison instead
|
|
|
|
|
|
|
|
error: case-sensitive file extension comparison
|
2022-08-31 08:24:45 -05:00
|
|
|
--> $DIR/case_sensitive_file_extension_comparisons.rs:24:27
|
2021-01-30 11:06:34 -06:00
|
|
|
|
|
2022-08-31 08:24:45 -05:00
|
|
|
LL | let _ = String::new().ends_with(".EXT12");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
2021-01-30 11:06:34 -06:00
|
|
|
|
|
|
|
|
= help: consider using a case-insensitive comparison instead
|
|
|
|
|
|
|
|
error: case-sensitive file extension comparison
|
|
|
|
--> $DIR/case_sensitive_file_extension_comparisons.rs:25:19
|
|
|
|
|
|
|
|
|
LL | let _ = "str".ends_with(".EXT12");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider using a case-insensitive comparison instead
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|