summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/case_sensitive_file_extension_comparisons.stderr
blob: 05b98169f2d17b0dd1be7812b07acd5236fb566b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
error: case-sensitive file extension comparison
  --> $DIR/case_sensitive_file_extension_comparisons.rs:12:14
   |
LL |     filename.ends_with(".rs")
   |              ^^^^^^^^^^^^^^^^
   |
   = note: `-D clippy::case-sensitive-file-extension-comparisons` implied by `-D warnings`
   = help: consider using a case-insensitive comparison instead

error: case-sensitive file extension comparison
  --> $DIR/case_sensitive_file_extension_comparisons.rs:17:30
   |
LL |     let _ = String::from("").ends_with(".ext12");
   |                              ^^^^^^^^^^^^^^^^^^^
   |
   = 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
  --> $DIR/case_sensitive_file_extension_comparisons.rs:24:30
   |
LL |     let _ = String::from("").ends_with(".EXT12");
   |                              ^^^^^^^^^^^^^^^^^^^
   |
   = 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