2023-03-30 20:48:35 -05:00
|
|
|
error: could not open Fluent resource: os-specific message
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:21:44
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "/definitely_does_not_exist.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-05-23 12:24:55 -05:00
|
|
|
|
2023-03-30 20:48:35 -05:00
|
|
|
error: could not open Fluent resource: os-specific message
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:26:44
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "../definitely_does_not_exist.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
|
|
error: could not parse Fluent resource
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:31:44
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "./missing-message.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
|
|
|
= help: see additional errors emitted
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
error: expected a message field for "no_crate_missing_message"
|
2022-05-23 12:24:55 -05:00
|
|
|
--> ./missing-message.ftl:1:1
|
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
1 | no_crate_missing_message =
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
error: overrides existing message: `no_crate_a_b_key`
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:36:44
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "./duplicate.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2022-10-22 04:08:09 -05:00
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
error: name `no_crate_this-slug-has-hyphens` contains a '-' character
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:41:44
|
2022-08-10 04:31:31 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "./slug-with-hyphens.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-08-10 04:31:31 -05:00
|
|
|
|
|
|
|
|
= help: replace any '-'s with '_'s
|
|
|
|
|
|
|
|
error: attribute `label-has-hyphens` contains a '-' character
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:46:44
|
2022-08-10 04:31:31 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "./label-with-hyphens.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-08-10 04:31:31 -05:00
|
|
|
|
|
|
|
|
= help: replace any '-'s with '_'s
|
|
|
|
|
2022-08-17 06:05:13 -05:00
|
|
|
error: name `with-hyphens` contains a '-' character
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:59:44
|
2022-08-17 06:05:13 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "./missing-crate-name.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-08-17 06:05:13 -05:00
|
|
|
|
|
|
|
|
= help: replace any '-'s with '_'s
|
|
|
|
|
|
|
|
error: name `with-hyphens` does not start with the crate name
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:59:44
|
2022-08-17 06:05:13 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "./missing-crate-name.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-08-17 06:05:13 -05:00
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
= help: prepend `no_crate_` to the slug name: `no_crate_with_hyphens`
|
2022-08-17 06:05:13 -05:00
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
error: name `no-crate_foo` contains a '-' character
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:59:44
|
2022-08-17 06:05:13 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "./missing-crate-name.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-08-17 06:05:13 -05:00
|
|
|
|
|
|
|
|
= help: replace any '-'s with '_'s
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
error: referenced message `message` does not exist (in message `no_crate_missing_message_ref`)
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:73:44
|
2023-01-19 17:48:08 -06:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "./missing-message-ref.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-01-19 17:48:08 -06:00
|
|
|
|
|
|
|
|
= help: you may have meant to use a variable reference (`{$message}`)
|
|
|
|
|
2023-03-29 10:00:48 -05:00
|
|
|
error: invalid escape `\n` in Fluent resource
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:78:44
|
2023-03-29 10:00:48 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "./invalid-escape.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2023-03-29 10:00:48 -05:00
|
|
|
|
|
2023-03-30 20:48:35 -05:00
|
|
|
= note: Fluent does not interpret these escape sequences (<https://projectfluent.org/fluent/guide/special.html>)
|
2023-03-29 10:00:48 -05:00
|
|
|
|
|
|
|
error: invalid escape `\"` in Fluent resource
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:78:44
|
2023-03-29 10:00:48 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "./invalid-escape.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2023-03-29 10:00:48 -05:00
|
|
|
|
|
2023-03-30 20:48:35 -05:00
|
|
|
= note: Fluent does not interpret these escape sequences (<https://projectfluent.org/fluent/guide/special.html>)
|
2023-03-29 10:00:48 -05:00
|
|
|
|
|
|
|
error: invalid escape `\'` in Fluent resource
|
2023-11-21 16:53:07 -06:00
|
|
|
--> $DIR/test.rs:78:44
|
2023-03-29 10:00:48 -05:00
|
|
|
|
|
2023-11-21 16:53:07 -06:00
|
|
|
LL | rustc_fluent_macro::fluent_messages! { "./invalid-escape.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2023-03-29 10:00:48 -05:00
|
|
|
|
|
2023-03-30 20:48:35 -05:00
|
|
|
= note: Fluent does not interpret these escape sequences (<https://projectfluent.org/fluent/guide/special.html>)
|
2023-03-29 10:00:48 -05:00
|
|
|
|
|
|
|
error: aborting due to 13 previous errors
|
2022-05-23 12:24:55 -05:00
|
|
|
|