about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/messages.ftl
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2025-07-04 23:56:16 +0200
committerFolkert de Vries <folkert@folkertdev.nl>2025-07-13 14:34:40 +0200
commit3689b80b75bb400e740897ec83e64be332098c0d (patch)
treedb23b5f9d95c0f4613ae1599111c0c7c595be85a /compiler/rustc_builtin_macros/messages.ftl
parent1b0bc594a75dfc1cdedc6c17052cf44de101e632 (diff)
downloadrust-3689b80b75bb400e740897ec83e64be332098c0d.tar.gz
rust-3689b80b75bb400e740897ec83e64be332098c0d.zip
make `cfg_select` a builtin macro
Diffstat (limited to 'compiler/rustc_builtin_macros/messages.ftl')
-rw-r--r--compiler/rustc_builtin_macros/messages.ftl6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_builtin_macros/messages.ftl b/compiler/rustc_builtin_macros/messages.ftl
index 3594c7ec210..183927edb02 100644
--- a/compiler/rustc_builtin_macros/messages.ftl
+++ b/compiler/rustc_builtin_macros/messages.ftl
@@ -81,6 +81,12 @@ builtin_macros_cfg_accessible_literal_path = `cfg_accessible` path cannot be a l
 builtin_macros_cfg_accessible_multiple_paths = multiple `cfg_accessible` paths are specified
 builtin_macros_cfg_accessible_unspecified_path = `cfg_accessible` path is not specified
 
+builtin_macros_cfg_select_no_matches = none of the rules in this `cfg_select` evaluated to true
+
+builtin_macros_cfg_select_unreachable = unreachable rule
+    .label = always matches
+    .label2 = this rules is never reached
+
 builtin_macros_coerce_pointee_requires_maybe_sized = `derive(CoercePointee)` requires `{$name}` to be marked `?Sized`
 
 builtin_macros_coerce_pointee_requires_one_field = `CoercePointee` can only be derived on `struct`s with at least one field