diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-05-29 18:39:08 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-09-27 11:29:49 +0200 |
| commit | 553308b11503eafac6341b82f345bd62b09ba317 (patch) | |
| tree | 0149dbb52ae9088cde28314584b7556227ae58aa /compiler/rustc_passes/messages.ftl | |
| parent | 1561efe41afe40c1afaf3d11316ef754d9a8f9a9 (diff) | |
| download | rust-553308b11503eafac6341b82f345bd62b09ba317.tar.gz rust-553308b11503eafac6341b82f345bd62b09ba317.zip | |
Improve code and better check `doc(cfg(...))` attributes
Diffstat (limited to 'compiler/rustc_passes/messages.ftl')
| -rw-r--r-- | compiler/rustc_passes/messages.ftl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_passes/messages.ftl b/compiler/rustc_passes/messages.ftl index a9a0f6d8b51..a5ff169e638 100644 --- a/compiler/rustc_passes/messages.ftl +++ b/compiler/rustc_passes/messages.ftl @@ -150,7 +150,7 @@ passes_doc_auto_cfg_hide_show_expects_list = `#![doc(auto_cfg({$attr_name}(...)))]` expects a list of items passes_doc_auto_cfg_hide_show_unexpected_item = - `#![doc(auto_cfg({$attr_name}(...)))]` only accepts identifiers or key/values items + `#![doc(auto_cfg({$attr_name}(...)))]` only accepts identifiers or key/value items passes_doc_auto_cfg_wrong_literal = `expected boolean for #[doc(auto_cfg = ...)]` |
