diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-09-15 22:09:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-15 22:09:50 +0200 |
| commit | 070456bccf8366d855fd90dd26d967501bf539a6 (patch) | |
| tree | fc1f9335b9022343d12e4a24708b6bdf86ddf51a /compiler | |
| parent | fbd63a93c3766a58a9e736a151a89795269572cf (diff) | |
| parent | 927c4c03194da284404985747c2cad25fa1f5066 (diff) | |
| download | rust-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.ftl | 2 |
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 |
