about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-09-22 13:58:02 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-09-27 11:29:50 +0200
commit653e1036ed5a343a7be7b2a73096c138efc51523 (patch)
treea55fdf86a2ec5982bb633b04030354c27129ee5a /tests
parent77885fef2cd9a7f9daa4f95336f0cfdeb62b3016 (diff)
downloadrust-653e1036ed5a343a7be7b2a73096c138efc51523.tar.gz
rust-653e1036ed5a343a7be7b2a73096c138efc51523.zip
Apply first review round suggestions
Diffstat (limited to 'tests')
-rw-r--r--tests/rustdoc-ui/doc-cfg.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc-ui/doc-cfg.stderr b/tests/rustdoc-ui/doc-cfg.stderr
index 13f62e50d90..49e8c324fac 100644
--- a/tests/rustdoc-ui/doc-cfg.stderr
+++ b/tests/rustdoc-ui/doc-cfg.stderr
@@ -1,4 +1,4 @@
-error: `only "hide" or "show" are allowed in "#[doc(auto_cfg(...))]"`
+error: only `hide` or `show` are allowed in `#[doc(auto_cfg(...))]`
   --> $DIR/doc-cfg.rs:11:7
    |
 LL | #[doc(auto_cfg(42))]
@@ -30,13 +30,13 @@ error: `#![doc(auto_cfg(hide(...)))]` only accepts identifiers or key/value item
 LL | #[doc(auto_cfg(hide(foo::bar)))]
    |                     ^^^^^^^^
 
-error: `expected boolean for #[doc(auto_cfg = ...)]`
+error: expected boolean for `#[doc(auto_cfg = ...)]`
   --> $DIR/doc-cfg.rs:16:7
    |
 LL | #[doc(auto_cfg = 42)]
    |       ^^^^^^^^^^^^^
 
-error: `expected boolean for #[doc(auto_cfg = ...)]`
+error: expected boolean for `#[doc(auto_cfg = ...)]`
   --> $DIR/doc-cfg.rs:17:7
    |
 LL | #[doc(auto_cfg = "a")]