about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doctest/standalone-warning-2024.stderr
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-28 22:37:59 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-29 13:01:41 +0200
commit6f5f21adfc88a914c507ba8c9a0f1f34ae292d44 (patch)
tree661442daf985bbe0cade1b34c6d753dddbfb7b64 /tests/rustdoc-ui/doctest/standalone-warning-2024.stderr
parent632fed891df4850e579b2c796de7e18b53d80daa (diff)
downloadrust-6f5f21adfc88a914c507ba8c9a0f1f34ae292d44.tar.gz
rust-6f5f21adfc88a914c507ba8c9a0f1f34ae292d44.zip
Rename doctest attribute `standalone-crate` into `standalone_crate` for coherency
Diffstat (limited to 'tests/rustdoc-ui/doctest/standalone-warning-2024.stderr')
-rw-r--r--tests/rustdoc-ui/doctest/standalone-warning-2024.stderr10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/rustdoc-ui/doctest/standalone-warning-2024.stderr b/tests/rustdoc-ui/doctest/standalone-warning-2024.stderr
index ef2e2364319..d69d03d8657 100644
--- a/tests/rustdoc-ui/doctest/standalone-warning-2024.stderr
+++ b/tests/rustdoc-ui/doctest/standalone-warning-2024.stderr
@@ -5,12 +5,12 @@ error: unknown attribute `standalone`
 11 | | //! bla
 12 | | //! ```
 13 | | //!
-14 | | //! ```standalone_crate
+14 | | //! ```standalone-crate
 15 | | //! bla
 16 | | //! ```
    | |_______^
    |
-   = help: use `standalone-crate` to compile this code block separately
+   = help: use `standalone_crate` to compile this code block separately
    = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
 note: the lint level is defined here
   --> $DIR/standalone-warning-2024.rs:8:9
@@ -19,19 +19,19 @@ note: the lint level is defined here
    |         ^^^^^^^^
    = note: `#[deny(rustdoc::invalid_codeblock_attributes)]` implied by `#[deny(warnings)]`
 
-error: unknown attribute `standalone_crate`
+error: unknown attribute `standalone-crate`
   --> $DIR/standalone-warning-2024.rs:10:1
    |
 10 | / //! ```standalone
 11 | | //! bla
 12 | | //! ```
 13 | | //!
-14 | | //! ```standalone_crate
+14 | | //! ```standalone-crate
 15 | | //! bla
 16 | | //! ```
    | |_______^
    |
-   = help: use `standalone-crate` to compile this code block separately
+   = help: use `standalone_crate` to compile this code block separately
    = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust`
 
 error: aborting due to 2 previous errors