2022-05-23 12:24:55 -05:00
|
|
|
error: could not open Fluent resource
|
2022-10-13 04:13:02 -05:00
|
|
|
--> $DIR/test.rs:24:24
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
LL | fluent_messages! { "/definitely_does_not_exist.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
|
|
|
= note: os-specific message
|
|
|
|
|
|
|
|
error: could not open Fluent resource
|
2022-10-13 04:13:02 -05:00
|
|
|
--> $DIR/test.rs:31:24
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
LL | fluent_messages! { "../definitely_does_not_exist.ftl" }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
|
|
|
= note: os-specific message
|
|
|
|
|
|
|
|
error: could not parse Fluent resource
|
2022-10-13 04:13:02 -05:00
|
|
|
--> $DIR/test.rs:38:24
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
LL | 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`
|
|
|
|
--> $DIR/test.rs:45:24
|
2022-05-23 12:24:55 -05:00
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
LL | 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
|
|
|
|
--> $DIR/test.rs:52:24
|
2022-08-10 04:31:31 -05:00
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
LL | 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
|
2022-10-13 04:13:02 -05:00
|
|
|
--> $DIR/test.rs:59:24
|
2022-08-10 04:31:31 -05:00
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
LL | 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
|
2022-10-13 04:13:02 -05:00
|
|
|
--> $DIR/test.rs:76:24
|
2022-08-17 06:05:13 -05:00
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
LL | 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
|
2022-10-13 04:13:02 -05:00
|
|
|
--> $DIR/test.rs:76:24
|
2022-08-17 06:05:13 -05:00
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
LL | 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
|
|
|
|
--> $DIR/test.rs:76:24
|
2022-08-17 06:05:13 -05:00
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
LL | 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`)
|
|
|
|
--> $DIR/test.rs:92:24
|
2023-01-19 17:48:08 -06:00
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
LL | 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}`)
|
|
|
|
|
2022-10-13 04:13:02 -05:00
|
|
|
error: aborting due to 10 previous errors
|
2022-05-23 12:24:55 -05:00
|
|
|
|