about summary refs log tree commit diff
path: root/compiler/rustc_parse/messages.ftl
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-04-23 15:12:33 +0000
committerbors <bors@rust-lang.org>2025-04-23 15:12:33 +0000
commit553600e0f5f5a7d492de6d95ccb2f057005f5651 (patch)
tree854f624a0ddfdc9d514d4bbbaa13b80c528decf7 /compiler/rustc_parse/messages.ftl
parentbe181dd75c83d72fcc95538e235768bc367b76b9 (diff)
parentecb9775438ecb6fd0e00c0acdbbb0525ed3c8b74 (diff)
downloadrust-553600e0f5f5a7d492de6d95ccb2f057005f5651.tar.gz
rust-553600e0f5f5a7d492de6d95ccb2f057005f5651.zip
Auto merge of #140180 - ChrisDenton:rollup-5pvs08u, r=ChrisDenton
Rollup of 7 pull requests

Successful merges:

 - #140142 (Some more graphviz tweaks)
 - #140146 (Update `compiler_builtins` to 0.1.156)
 - #140147 (Clean: rename `open_braces` to `open_delimiters` in lexer and move `make_unclosed_delims_error` into `diagnostics.rs`.)
 - #140160 (Use `is_lang_item` and `as_lang_item` instead of handrolling their logic)
 - #140163 (Validate extension in `PathBuf::add_extension`)
 - #140173 (Ping Mara when touching format_args!() internals.)
 - #140175 (`rc""` more clear error message)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_parse/messages.ftl')
-rw-r--r--compiler/rustc_parse/messages.ftl1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_parse/messages.ftl b/compiler/rustc_parse/messages.ftl
index 97bade2d31e..ae9143486ee 100644
--- a/compiler/rustc_parse/messages.ftl
+++ b/compiler/rustc_parse/messages.ftl
@@ -893,6 +893,7 @@ parse_unknown_prefix = prefix `{$prefix}` is unknown
     .label = unknown prefix
     .note =  prefixed identifiers and literals are reserved since Rust 2021
     .suggestion_br = use `br` for a raw byte string
+    .suggestion_cr = use `cr` for a raw C-string
     .suggestion_str = if you meant to write a string literal, use double quotes
     .suggestion_whitespace = consider inserting whitespace here