Skip to content

Commit 6f6a6d5

Browse files
committed
Fix missing function body in minicore
1 parent 7260ff8 commit 6f6a6d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crates/test-utils/src/minicore.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,9 @@ pub mod fmt {
977977
}
978978

979979
impl UnsafeArg {
980-
pub unsafe fn new() -> Self;
980+
pub unsafe fn new() -> Self {
981+
UnsafeArg { _private: () }
982+
}
981983
}
982984
}
983985

@@ -1488,7 +1490,6 @@ mod macros {
14881490
}
14891491
// endregion:unimplemented
14901492

1491-
14921493
// region:derive
14931494
pub(crate) mod builtin {
14941495
#[rustc_builtin_macro]

0 commit comments

Comments
 (0)