diff options
| author | sisungo <sisungo@icloud.com> | 2024-02-29 14:59:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-29 14:59:10 +0800 |
| commit | da37c8f1f2ed24bc06667bf13aedd63b4aad2b9f (patch) | |
| tree | ff4cf42fbeadb4dae22ae31a8fc5dff0f4277a55 | |
| parent | 9dfe5ef8b5496f5749223ef127d701563af4fe30 (diff) | |
| download | rust-da37c8f1f2ed24bc06667bf13aedd63b4aad2b9f.tar.gz rust-da37c8f1f2ed24bc06667bf13aedd63b4aad2b9f.zip | |
Fix tests that are affected by this change
| -rw-r--r-- | tests/rustdoc-ui/lints/doc_cfg_hide.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-ui/lints/doc_cfg_hide.stderr b/tests/rustdoc-ui/lints/doc_cfg_hide.stderr index b7e8870fdf5..ca6a14a42b8 100644 --- a/tests/rustdoc-ui/lints/doc_cfg_hide.stderr +++ b/tests/rustdoc-ui/lints/doc_cfg_hide.stderr @@ -18,7 +18,7 @@ help: to apply to the crate, use an inner attribute LL | #![doc(cfg_hide(doc))] | + -error: `#[doc(cfg_hide(...)]` takes a list of attributes +error: `#[doc(cfg_hide(...))]` takes a list of attributes --> $DIR/doc_cfg_hide.rs:4:8 | LL | #![doc(cfg_hide = "test")] @@ -27,7 +27,7 @@ LL | #![doc(cfg_hide = "test")] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730> -error: `#[doc(cfg_hide(...)]` takes a list of attributes +error: `#[doc(cfg_hide(...))]` takes a list of attributes --> $DIR/doc_cfg_hide.rs:6:8 | LL | #![doc(cfg_hide)] |
