about summary refs log tree commit diff
path: root/tests/ui/parser/utf16-le-without-bom.stderr
blob: 701379d4067e3f2a8cc46ef24b64ee481461189c (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:2
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |  ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:4
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |    ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:6
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |      ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:8
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |        ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:10
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |          ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:12
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |            ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:14
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |              ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:16
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |                ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:18
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |                  ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:20
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |                    ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:22
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |                      ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:6:24
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |                        ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: unknown start of token: \u{0}
  --> $DIR/utf16-le-without-bom.rs:7:1
   |
LL | ␀
   | ^
   |
   = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used

error: expected one of `!` or `::`, found `n`
  --> $DIR/utf16-le-without-bom.rs:6:3
   |
LL | f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |   ^ expected one of `!` or `::`
   |
help: consider removing the space to spell keyword `fn`
   |
LL - f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
LL + fn␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
   |

error: aborting due to 14 previous errors