Skip to content

Commit

Permalink
Fix tests that are affected by this change
Browse files Browse the repository at this point in the history
  • Loading branch information
sisungo authored Feb 29, 2024
1 parent 9dfe5ef commit da37c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/rustdoc-ui/lints/doc_cfg_hide.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand All @@ -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)]
Expand Down

0 comments on commit da37c8f

Please sign in to comment.