Skip to content

Commit

Permalink
fix expand-to-unstable test
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 11, 2020
1 parent d49306d commit c7eb0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/proc-macro/auxiliary/derive-unstable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

0 comments on commit c7eb0f2

Please sign in to comment.