File tree Expand file tree Collapse file tree 3 files changed +0
-30
lines changed Expand file tree Collapse file tree 3 files changed +0
-30
lines changed Original file line number Diff line number Diff line change 1- #![ feature( abi_vectorcall) ]
2-
31//@ is "$.index[?(@.name=='AbiRust')].inner.type_alias.type.function_pointer.header.abi" \"Rust\"
42pub type AbiRust = fn ( ) ;
53
@@ -14,9 +12,3 @@ pub type AbiCUnwind = extern "C-unwind" fn();
1412
1513//@ is "$.index[?(@.name=='AbiSystemUnwind')].inner.type_alias.type.function_pointer.header.abi" '{"System": {"unwind": true}}'
1614pub type AbiSystemUnwind = extern "system-unwind" fn ( ) ;
17-
18- //@ is "$.index[?(@.name=='AbiVecorcall')].inner.type_alias.type.function_pointer.header.abi.Other" '"\"vectorcall\""'
19- pub type AbiVecorcall = extern "vectorcall" fn ( ) ;
20-
21- //@ is "$.index[?(@.name=='AbiVecorcallUnwind')].inner.type_alias.type.function_pointer.header.abi.Other" '"\"vectorcall-unwind\""'
22- pub type AbiVecorcallUnwind = extern "vectorcall-unwind" fn ( ) ;
Original file line number Diff line number Diff line change 1- #![ feature( abi_vectorcall) ]
2-
31//@ is "$.index[?(@.name=='abi_rust')].inner.function.header.abi" \"Rust\"
42pub fn abi_rust ( ) { }
53
@@ -14,9 +12,3 @@ pub extern "C-unwind" fn abi_c_unwind() {}
1412
1513//@ is "$.index[?(@.name=='abi_system_unwind')].inner.function.header.abi" '{"System": {"unwind": true}}'
1614pub extern "system-unwind" fn abi_system_unwind ( ) { }
17-
18- //@ is "$.index[?(@.name=='abi_vectorcall')].inner.function.header.abi.Other" '"\"vectorcall\""'
19- pub extern "vectorcall" fn abi_vectorcall ( ) { }
20-
21- //@ is "$.index[?(@.name=='abi_vectorcall_unwind')].inner.function.header.abi.Other" '"\"vectorcall-unwind\""'
22- pub extern "vectorcall-unwind" fn abi_vectorcall_unwind ( ) { }
Original file line number Diff line number Diff line change 1- #![ feature( abi_vectorcall) ]
2-
31//@ has "$.index[?(@.name=='Foo')]"
42pub struct Foo ;
53
@@ -18,12 +16,6 @@ impl Foo {
1816
1917 //@ is "$.index[?(@.name=='abi_system_unwind')].inner.function.header.abi" '{"System": {"unwind": true}}'
2018 pub extern "system-unwind" fn abi_system_unwind ( ) { }
21-
22- //@ is "$.index[?(@.name=='abi_vectorcall')].inner.function.header.abi.Other" '"\"vectorcall\""'
23- pub extern "vectorcall" fn abi_vectorcall ( ) { }
24-
25- //@ is "$.index[?(@.name=='abi_vectorcall_unwind')].inner.function.header.abi.Other" '"\"vectorcall-unwind\""'
26- pub extern "vectorcall-unwind" fn abi_vectorcall_unwind ( ) { }
2719}
2820
2921pub trait Bar {
@@ -41,10 +33,4 @@ pub trait Bar {
4133
4234 //@ is "$.index[?(@.name=='trait_abi_system_unwind')].inner.function.header.abi" '{"System": {"unwind": true}}'
4335 extern "system-unwind" fn trait_abi_system_unwind ( ) { }
44-
45- //@ is "$.index[?(@.name=='trait_abi_vectorcall')].inner.function.header.abi.Other" '"\"vectorcall\""'
46- extern "vectorcall" fn trait_abi_vectorcall ( ) { }
47-
48- //@ is "$.index[?(@.name=='trait_abi_vectorcall_unwind')].inner.function.header.abi.Other" '"\"vectorcall-unwind\""'
49- extern "vectorcall-unwind" fn trait_abi_vectorcall_unwind ( ) { }
5036}
You can’t perform that action at this time.
0 commit comments