summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/item-kw-case-mismatch.stderr
blob: e66dae825f9c43696e7d15a3761a4441f160e58f (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
error: keyword `use` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:7:1
   |
LL | Use std::ptr::read;
   | ^^^ help: write it in the correct case (notice the capitalization): `use`

error: keyword `use` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:8:1
   |
LL | USE std::ptr::write;
   | ^^^ help: write it in the correct case: `use`

error: keyword `fn` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:10:7
   |
LL | async Fn _a() {}
   |       ^^ help: write it in the correct case (notice the capitalization): `fn`

error: keyword `fn` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:13:1
   |
LL | Fn _b() {}
   | ^^ help: write it in the correct case (notice the capitalization): `fn`

error: keyword `async` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:16:1
   |
LL | aSYNC fN _c() {}
   | ^^^^^ help: write it in the correct case: `async`

error: keyword `fn` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:16:7
   |
LL | aSYNC fN _c() {}
   |       ^^ help: write it in the correct case: `fn`

error: keyword `async` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:20:1
   |
LL | Async fn _d() {}
   | ^^^^^ help: write it in the correct case: `async`

error: keyword `const` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:23:1
   |
LL | CONST UNSAFE FN _e() {}
   | ^^^^^ help: write it in the correct case: `const`

error: keyword `unsafe` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:23:7
   |
LL | CONST UNSAFE FN _e() {}
   |       ^^^^^^ help: write it in the correct case: `unsafe`

error: keyword `fn` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:23:14
   |
LL | CONST UNSAFE FN _e() {}
   |              ^^ help: write it in the correct case: `fn`

error: keyword `unsafe` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:28:1
   |
LL | unSAFE EXTern fn _f() {}
   | ^^^^^^ help: write it in the correct case: `unsafe`

error: keyword `extern` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:28:8
   |
LL | unSAFE EXTern fn _f() {}
   |        ^^^^^^ help: write it in the correct case: `extern`

error: keyword `extern` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:32:1
   |
LL | EXTERN "C" FN _g() {}
   | ^^^^^^ help: write it in the correct case: `extern`

error: keyword `fn` is written in a wrong case
  --> $DIR/item-kw-case-mismatch.rs:32:12
   |
LL | EXTERN "C" FN _g() {}
   |            ^^ help: write it in the correct case: `fn`

error: aborting due to 14 previous errors