diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-09-28 01:32:09 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-09-28 18:38:11 +0200 |
| commit | 632fed891df4850e579b2c796de7e18b53d80daa (patch) | |
| tree | a81cb476befe305948f30c7de8cce8726b035fbc /tests/rustdoc-ui/doctest/standalone-warning-2024.stderr | |
| parent | 84d41e2fc19570e553dc6704e747062373ce4270 (diff) | |
| download | rust-632fed891df4850e579b2c796de7e18b53d80daa.tar.gz rust-632fed891df4850e579b2c796de7e18b53d80daa.zip | |
Improve mistyped docblock attribute warning messages
Diffstat (limited to 'tests/rustdoc-ui/doctest/standalone-warning-2024.stderr')
| -rw-r--r-- | tests/rustdoc-ui/doctest/standalone-warning-2024.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rustdoc-ui/doctest/standalone-warning-2024.stderr b/tests/rustdoc-ui/doctest/standalone-warning-2024.stderr index ec9d17bb073..ef2e2364319 100644 --- a/tests/rustdoc-ui/doctest/standalone-warning-2024.stderr +++ b/tests/rustdoc-ui/doctest/standalone-warning-2024.stderr @@ -10,8 +10,8 @@ error: unknown attribute `standalone` 16 | | //! ``` | |_______^ | - = help: there is an attribute with a similar name: `standalone-crate` - = help: the code block will either not be tested if not marked as a rust one or the code will be run as part of the merged doctests if compatible + = 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 | @@ -31,8 +31,8 @@ error: unknown attribute `standalone_crate` 16 | | //! ``` | |_______^ | - = help: there is an attribute with a similar name: `standalone-crate` - = help: the code block will either not be tested if not marked as a rust one or the code will be run as part of the merged doctests if compatible + = 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 |
