Fix missing function body in minicore

This commit is contained in:
Lukas Wirth 2024-03-25 16:58:15 +00:00 committed by Lukas Wirth
parent a8e50cffbc
commit b6751b7611

View File

@ -977,7 +977,9 @@ pub struct UnsafeArg {
} }
impl UnsafeArg { impl UnsafeArg {
pub unsafe fn new() -> Self; pub unsafe fn new() -> Self {
UnsafeArg { _private: () }
}
} }
} }
@ -1488,7 +1490,6 @@ macro_rules! unimplemented {
} }
// endregion:unimplemented // endregion:unimplemented
// region:derive // region:derive
pub(crate) mod builtin { pub(crate) mod builtin {
#[rustc_builtin_macro] #[rustc_builtin_macro]