Skip to content

Commit a705901

Browse files
rustdoc-json: Remove vectorcall from rustdoc-json tests
1 parent 41dea87 commit a705901

File tree

3 files changed

+0
-30
lines changed

3 files changed

+0
-30
lines changed

tests/rustdoc-json/fn_pointer/abi.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(abi_vectorcall)]
2-
31
//@ is "$.index[?(@.name=='AbiRust')].inner.type_alias.type.function_pointer.header.abi" \"Rust\"
42
pub 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}}'
1614
pub 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();

tests/rustdoc-json/fns/abi.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(abi_vectorcall)]
2-
31
//@ is "$.index[?(@.name=='abi_rust')].inner.function.header.abi" \"Rust\"
42
pub 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}}'
1614
pub 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() {}

tests/rustdoc-json/methods/abi.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(abi_vectorcall)]
2-
31
//@ has "$.index[?(@.name=='Foo')]"
42
pub 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

2921
pub 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
}

0 commit comments

Comments
 (0)