fix expand-to-unstable test

This commit is contained in:
Ralf Jung 2020-03-11 19:41:41 +01:00
parent d49306da13
commit c7eb0f2a40

View File

@ -10,5 +10,5 @@ use proc_macro::TokenStream;
#[proc_macro_derive(Unstable)]
pub fn derive(_input: TokenStream) -> TokenStream {
"unsafe fn foo() -> u32 { ::std::intrinsics::init() }".parse().unwrap()
"unsafe fn foo() -> u32 { ::std::intrinsics::abort() }".parse().unwrap()
}