]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/fluent-messages/test.stderr
Rollup merge of #101057 - cjgillot:one-fn-sig, r=compiler-errors
[rust.git] / src / test / ui-fulldeps / fluent-messages / test.stderr
1 error: could not open Fluent resource
2   --> $DIR/test.rs:25:29
3    |
4 LL |         missing_absolute => "/definitely_does_not_exist.ftl",
5    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: os-specific message
8
9 error: could not open Fluent resource
10   --> $DIR/test.rs:34:29
11    |
12 LL |         missing_relative => "../definitely_does_not_exist.ftl",
13    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14    |
15    = note: os-specific message
16
17 error: could not parse Fluent resource
18   --> $DIR/test.rs:43:28
19    |
20 LL |         missing_message => "./missing-message.ftl",
21    |                            ^^^^^^^^^^^^^^^^^^^^^^^
22    |
23    = help: see additional errors emitted
24
25 error: expected a message field for "missing_message"
26  --> ./missing-message.ftl:1:1
27   |
28 1 | missing_message =
29   | ^^^^^^^^^^^^^^^^^
30   |
31
32 error: overrides existing message: `a_b_key`
33   --> $DIR/test.rs:53:16
34    |
35 LL |         a_b => "./duplicate-a-b.ftl",
36    |                ^^^^^^^^^^^^^^^^^^^^^
37    |
38 help: previously defined in this resource
39   --> $DIR/test.rs:52:14
40    |
41 LL |         a => "./duplicate-a.ftl",
42    |              ^^^^^^^^^^^^^^^^^^^
43
44 error: name `slug_with_hyphens_this-slug-has-hyphens` contains a '-' character
45   --> $DIR/test.rs:62:30
46    |
47 LL |         slug_with_hyphens => "./slug-with-hyphens.ftl",
48    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^
49    |
50    = help: replace any '-'s with '_'s
51
52 error: attribute `label-has-hyphens` contains a '-' character
53   --> $DIR/test.rs:71:31
54    |
55 LL |         label_with_hyphens => "./label-with-hyphens.ftl",
56    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
57    |
58    = help: replace any '-'s with '_'s
59
60 error: name `with-hyphens` contains a '-' character
61   --> $DIR/test.rs:90:23
62    |
63 LL |         test_crate => "./missing-crate-name.ftl",
64    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
65    |
66    = help: replace any '-'s with '_'s
67
68 error: name `with-hyphens` does not start with the crate name
69   --> $DIR/test.rs:90:23
70    |
71 LL |         test_crate => "./missing-crate-name.ftl",
72    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
73    |
74    = help: prepend `test_crate_` to the slug name: `test_crate_with_hyphens`
75
76 error: name `test-crate_foo` contains a '-' character
77   --> $DIR/test.rs:90:23
78    |
79 LL |         test_crate => "./missing-crate-name.ftl",
80    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
81    |
82    = help: replace any '-'s with '_'s
83
84 error: aborting due to 9 previous errors
85