Skip to content

Commit

Permalink
Fix rustdoc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
carbotaniuman committed Apr 21, 2024
1 parent c807e2d commit 0702557
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustdoc/clean/cfg/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ fn dummy_meta_item_name_value(name: &str, symbol: Symbol, kind: LitKind) -> Meta
macro_rules! dummy_meta_item_list {
($name:ident, [$($list:ident),* $(,)?]) => {
MetaItem {
unsafety: Unsafe::No,
path: Path::from_ident(Ident::from_str(stringify!($name))),
kind: MetaItemKind::List(thin_vec![
$(
Expand Down

0 comments on commit 0702557

Please sign in to comment.