File: test.stderr

package info (click to toggle)
rustc 1.85.0%2Bdfsg3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid, trixie
  • size: 893,396 kB
  • sloc: xml: 158,127; python: 35,830; javascript: 19,497; cpp: 19,002; sh: 17,245; ansic: 13,127; asm: 4,376; makefile: 1,051; perl: 29; lisp: 29; ruby: 19; sql: 11
file content (122 lines) | stat: -rw-r--r-- 4,422 bytes parent folder | download | duplicates (3)
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
119
120
121
122
error: could not open Fluent resource: os-specific message
  --> $DIR/test.rs:21:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "/definitely_does_not_exist.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not open Fluent resource: os-specific message
  --> $DIR/test.rs:26:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "../definitely_does_not_exist.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not parse Fluent resource
  --> $DIR/test.rs:31:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./missing-message.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: see additional errors emitted

error: expected a message field for "no_crate_missing_message"
 --> ./missing-message.ftl:1:1
  |
1 | no_crate_missing_message =
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  |

error: overrides existing message: `no_crate_a_b_key`
  --> $DIR/test.rs:36:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./duplicate.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^

error: name `no_crate_this-slug-has-hyphens` contains a '-' character
  --> $DIR/test.rs:41:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./slug-with-hyphens.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: replace any '-'s with '_'s

error: attribute `label-has-hyphens` contains a '-' character
  --> $DIR/test.rs:46:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./label-with-hyphens.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: replace any '-'s with '_'s

error: name `with-hyphens` contains a '-' character
  --> $DIR/test.rs:59:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./missing-crate-name.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: replace any '-'s with '_'s

error: name `with-hyphens` does not start with the crate name
  --> $DIR/test.rs:59:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./missing-crate-name.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: prepend `no_crate_` to the slug name: `no_crate_with_hyphens`

error: name `no-crate_foo` contains a '-' character
  --> $DIR/test.rs:59:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./missing-crate-name.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: replace any '-'s with '_'s

error: referenced message `message` does not exist (in message `no_crate_missing_message_ref`)
  --> $DIR/test.rs:73:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./missing-message-ref.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: you may have meant to use a variable reference (`{$message}`)

error: invalid escape `\n` in Fluent resource
  --> $DIR/test.rs:78:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./invalid-escape.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: Fluent does not interpret these escape sequences (<https://projectfluent.org/fluent/guide/special.html>)

error: invalid escape `\"` in Fluent resource
  --> $DIR/test.rs:78:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./invalid-escape.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: Fluent does not interpret these escape sequences (<https://projectfluent.org/fluent/guide/special.html>)

error: invalid escape `\'` in Fluent resource
  --> $DIR/test.rs:78:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./invalid-escape.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: Fluent does not interpret these escape sequences (<https://projectfluent.org/fluent/guide/special.html>)

error: could not parse Fluent resource
  --> $DIR/test.rs:85:44
   |
LL |     rustc_fluent_macro::fluent_messages! { "./many-lines.ftl" }
   |                                            ^^^^^^^^^^^^^^^^^^
   |
   = help: see additional errors emitted

error: expected a message field for "no_crate_bar"
 --> ./many-lines.ftl:8:1
  |
8 | no_crate_bar =
  | ^^^^^^^^^^^^^^
  |

error: aborting due to 14 previous errors