]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/case_sensitive_file_extension_comparisons.stderr
Merge commit '0c89065b934397b62838fe3e4ef6f6352fc52daf' into libgccjit-codegen
[rust.git] / src / tools / clippy / tests / ui / case_sensitive_file_extension_comparisons.stderr
1 error: case-sensitive file extension comparison
2   --> $DIR/case_sensitive_file_extension_comparisons.rs:12:14
3    |
4 LL |     filename.ends_with(".rs")
5    |              ^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::case-sensitive-file-extension-comparisons` implied by `-D warnings`
8    = help: consider using a case-insensitive comparison instead
9
10 error: case-sensitive file extension comparison
11   --> $DIR/case_sensitive_file_extension_comparisons.rs:17:30
12    |
13 LL |     let _ = String::from("").ends_with(".ext12");
14    |                              ^^^^^^^^^^^^^^^^^^^
15    |
16    = help: consider using a case-insensitive comparison instead
17
18 error: case-sensitive file extension comparison
19   --> $DIR/case_sensitive_file_extension_comparisons.rs:18:19
20    |
21 LL |     let _ = "str".ends_with(".ext12");
22    |                   ^^^^^^^^^^^^^^^^^^^
23    |
24    = help: consider using a case-insensitive comparison instead
25
26 error: case-sensitive file extension comparison
27   --> $DIR/case_sensitive_file_extension_comparisons.rs:24:30
28    |
29 LL |     let _ = String::from("").ends_with(".EXT12");
30    |                              ^^^^^^^^^^^^^^^^^^^
31    |
32    = help: consider using a case-insensitive comparison instead
33
34 error: case-sensitive file extension comparison
35   --> $DIR/case_sensitive_file_extension_comparisons.rs:25:19
36    |
37 LL |     let _ = "str".ends_with(".EXT12");
38    |                   ^^^^^^^^^^^^^^^^^^^
39    |
40    = help: consider using a case-insensitive comparison instead
41
42 error: aborting due to 5 previous errors
43