@@ -30,56 +30,69 @@ error: expected a message field for "missing_message"
3030 |
3131
3232error: overrides existing message: `a_b_key`
33- --> $DIR/test.rs:53 :16
33+ --> $DIR/test.rs:54 :16
3434 |
3535LL | a_b => "./duplicate-a-b.ftl",
3636 | ^^^^^^^^^^^^^^^^^^^^^
3737 |
3838help: previously defined in this resource
39- --> $DIR/test.rs:52 :14
39+ --> $DIR/test.rs:53 :14
4040 |
4141LL | a => "./duplicate-a.ftl",
4242 | ^^^^^^^^^^^^^^^^^^^
4343
44+ error[E0428]: the name `a_b_key` is defined multiple times
45+ --> $DIR/test.rs:51:5
46+ |
47+ LL | fluent_messages! {
48+ | ^^^^^^^^^^^^^^^^
49+ | |
50+ | `a_b_key` redefined here
51+ | previous definition of the value `a_b_key` here
52+ |
53+ = note: os-specific message
54+ = note: os-specific message
55+
4456error: name `slug_with_hyphens_this-slug-has-hyphens` contains a '-' character
45- --> $DIR/test.rs:62 :30
57+ --> $DIR/test.rs:63 :30
4658 |
4759LL | slug_with_hyphens => "./slug-with-hyphens.ftl",
4860 | ^^^^^^^^^^^^^^^^^^^^^^^^^
4961 |
5062 = help: replace any '-'s with '_'s
5163
5264error: attribute `label-has-hyphens` contains a '-' character
53- --> $DIR/test.rs:71 :31
65+ --> $DIR/test.rs:72 :31
5466 |
5567LL | label_with_hyphens => "./label-with-hyphens.ftl",
5668 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
5769 |
5870 = help: replace any '-'s with '_'s
5971
6072error: name `with-hyphens` contains a '-' character
61- --> $DIR/test.rs:90 :23
73+ --> $DIR/test.rs:91 :23
6274 |
6375LL | test_crate => "./missing-crate-name.ftl",
6476 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
6577 |
6678 = help: replace any '-'s with '_'s
6779
6880error: name `with-hyphens` does not start with the crate name
69- --> $DIR/test.rs:90 :23
81+ --> $DIR/test.rs:91 :23
7082 |
7183LL | test_crate => "./missing-crate-name.ftl",
7284 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
7385 |
7486 = help: prepend `test_crate_` to the slug name: `test_crate_with_hyphens`
7587
7688error: name `test-crate_foo` contains a '-' character
77- --> $DIR/test.rs:90 :23
89+ --> $DIR/test.rs:91 :23
7890 |
7991LL | test_crate => "./missing-crate-name.ftl",
8092 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
8193 |
8294 = help: replace any '-'s with '_'s
8395
84- error: aborting due to 9 previous errors
96+ error: aborting due to 10 previous errors
8597
98+ For more information about this error, try `rustc --explain E0428`.
0 commit comments