about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-15 22:09:50 +0200
committerGitHub <noreply@github.com>2025-09-15 22:09:50 +0200
commit070456bccf8366d855fd90dd26d967501bf539a6 (patch)
treefc1f9335b9022343d12e4a24708b6bdf86ddf51a /compiler
parentfbd63a93c3766a58a9e736a151a89795269572cf (diff)
parent927c4c03194da284404985747c2cad25fa1f5066 (diff)
downloadrust-070456bccf8366d855fd90dd26d967501bf539a6.tar.gz
rust-070456bccf8366d855fd90dd26d967501bf539a6.zip
Rollup merge of #146559 - Jules-Bertholet:fix-typo, r=nnethercote
Fix typo in error message
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_middle/messages.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/messages.ftl b/compiler/rustc_middle/messages.ftl
index 69adb2fe391..279ab9a9d8f 100644
--- a/compiler/rustc_middle/messages.ftl
+++ b/compiler/rustc_middle/messages.ftl
@@ -84,7 +84,7 @@ middle_failed_writing_file =
 # Note: We only mention patterns here since the error can only occur with references, and those
 # are forbidden in const generics.
 middle_invalid_const_in_valtree = constant {$global_const_id} cannot be used as pattern
-    .note = constants that reference mutable or external memory cannot be used as pattern
+    .note = constants that reference mutable or external memory cannot be used as patterns
 
 middle_layout_cycle =
     a cycle occurred during layout computation