fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
3.4 KiB107 linesraw
1error: could not open Fluent resource: os-specific message
2  --> $DIR/test.rs:24:24
3   |
4LL |     fluent_messages! { "/definitely_does_not_exist.ftl" }
5   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7error: could not open Fluent resource: os-specific message
8  --> $DIR/test.rs:31:24
9   |
10LL |     fluent_messages! { "../definitely_does_not_exist.ftl" }
11   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: could not parse Fluent resource
14  --> $DIR/test.rs:38:24
15   |
16LL |     fluent_messages! { "./missing-message.ftl" }
17   |                        ^^^^^^^^^^^^^^^^^^^^^^^
18   |
19   = help: see additional errors emitted
20
21error: expected a message field for "no_crate_missing_message"
22 --> ./missing-message.ftl:1:1
23  |
241 | no_crate_missing_message =
25  | ^^^^^^^^^^^^^^^^^^^^^^^^^^
26  |
27
28error: overrides existing message: `no_crate_a_b_key`
29  --> $DIR/test.rs:45:24
30   |
31LL |     fluent_messages! { "./duplicate.ftl" }
32   |                        ^^^^^^^^^^^^^^^^^
33
34error: name `no_crate_this-slug-has-hyphens` contains a '-' character
35  --> $DIR/test.rs:52:24
36   |
37LL |     fluent_messages! { "./slug-with-hyphens.ftl" }
38   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^
39   |
40   = help: replace any '-'s with '_'s
41
42error: attribute `label-has-hyphens` contains a '-' character
43  --> $DIR/test.rs:59:24
44   |
45LL |     fluent_messages! { "./label-with-hyphens.ftl" }
46   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
47   |
48   = help: replace any '-'s with '_'s
49
50error: name `with-hyphens` contains a '-' character
51  --> $DIR/test.rs:76:24
52   |
53LL |     fluent_messages! { "./missing-crate-name.ftl" }
54   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
55   |
56   = help: replace any '-'s with '_'s
57
58error: name `with-hyphens` does not start with the crate name
59  --> $DIR/test.rs:76:24
60   |
61LL |     fluent_messages! { "./missing-crate-name.ftl" }
62   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
63   |
64   = help: prepend `no_crate_` to the slug name: `no_crate_with_hyphens`
65
66error: name `no-crate_foo` contains a '-' character
67  --> $DIR/test.rs:76:24
68   |
69LL |     fluent_messages! { "./missing-crate-name.ftl" }
70   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
71   |
72   = help: replace any '-'s with '_'s
73
74error: referenced message `message` does not exist (in message `no_crate_missing_message_ref`)
75  --> $DIR/test.rs:92:24
76   |
77LL |     fluent_messages! { "./missing-message-ref.ftl" }
78   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
79   |
80   = help: you may have meant to use a variable reference (`{$message}`)
81
82error: invalid escape `\n` in Fluent resource
83  --> $DIR/test.rs:99:24
84   |
85LL |     fluent_messages! { "./invalid-escape.ftl" }
86   |                        ^^^^^^^^^^^^^^^^^^^^^^
87   |
88   = note: Fluent does not interpret these escape sequences (<https://projectfluent.org/fluent/guide/special.html>)
89
90error: invalid escape `\"` in Fluent resource
91  --> $DIR/test.rs:99:24
92   |
93LL |     fluent_messages! { "./invalid-escape.ftl" }
94   |                        ^^^^^^^^^^^^^^^^^^^^^^
95   |
96   = note: Fluent does not interpret these escape sequences (<https://projectfluent.org/fluent/guide/special.html>)
97
98error: invalid escape `\'` in Fluent resource
99  --> $DIR/test.rs:99:24
100   |
101LL |     fluent_messages! { "./invalid-escape.ftl" }
102   |                        ^^^^^^^^^^^^^^^^^^^^^^
103   |
104   = note: Fluent does not interpret these escape sequences (<https://projectfluent.org/fluent/guide/special.html>)
105
106error: aborting due to 13 previous errors
107