Skip to content

Commit 0702557

Browse files
committed
Fix rustdoc tests
1 parent c807e2d commit 0702557

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/clean/cfg/tests.rs

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ fn dummy_meta_item_name_value(name: &str, symbol: Symbol, kind: LitKind) -> Meta
3434
macro_rules! dummy_meta_item_list {
3535
($name:ident, [$($list:ident),* $(,)?]) => {
3636
MetaItem {
37+
unsafety: Unsafe::No,
3738
path: Path::from_ident(Ident::from_str(stringify!($name))),
3839
kind: MetaItemKind::List(thin_vec![
3940
$(

0 commit comments

Comments
 (0)