Skip to content

Commit

Permalink
Fix it for real
Browse files Browse the repository at this point in the history
  • Loading branch information
carbotaniuman committed Apr 25, 2024
1 parent e59a35d commit 29cbbef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librustdoc/clean/cfg/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ fn dummy_meta_item_word(name: &str) -> MetaItem {
fn dummy_meta_item_name_value(name: &str, symbol: Symbol, kind: LitKind) -> MetaItem {
let lit = MetaItemLit { symbol, suffix: None, kind, span: DUMMY_SP };
MetaItem {
unsafety: Unsafe::No,
path: Path::from_ident(Ident::from_str(name)),
kind: MetaItemKind::NameValue(lit),
span: DUMMY_SP,
Expand All @@ -49,6 +50,7 @@ macro_rules! dummy_meta_item_list {

($name:ident, [$($list:expr),* $(,)?]) => {
MetaItem {
unsafety: Unsafe::No,
path: Path::from_ident(Ident::from_str(stringify!($name))),
kind: MetaItemKind::List(thin_vec![
$(
Expand Down

0 comments on commit 29cbbef

Please sign in to comment.