Home
last modified time | relevance | path

Searched refs:assert_sync (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/libloading/tests/
Dmarkers.rs6 fn assert_sync<T: Sync>() {} in assert_sync() function
17 assert_sync::<libloading::Error>(); in check_error_sync()
44 assert_sync::<libloading::Library>(); in check_library_sync()
50 assert_sync::<libloading::os::unix::Library>(); in check_unix_library_sync()
56 assert_sync::<libloading::os::windows::Library>(); in check_windows_library_sync()
80 assert_sync::<libloading::Symbol<fn() -> ()>>(); in check_symbol_sync()
87 assert_sync::<libloading::os::unix::Symbol<fn() -> ()>>(); in check_unix_symbol_sync()
94 assert_sync::<libloading::os::windows::Symbol<fn() -> ()>>(); in check_windows_symbol_sync()
/third_party/rust/crates/regex/tests/
Dtest_default.rs89 fn assert_sync<T: Sync>() {} in oibits() function
94 assert_sync::<Regex>(); in oibits()
98 assert_sync::<RegexBuilder>(); in oibits()
103 assert_sync::<bytes::Regex>(); in oibits()
107 assert_sync::<bytes::RegexBuilder>(); in oibits()
112 assert_sync::<RegexSet>(); in oibits()
116 assert_sync::<RegexSetBuilder>(); in oibits()
121 assert_sync::<bytes::RegexSet>(); in oibits()
125 assert_sync::<bytes::RegexSetBuilder>(); in oibits()
/third_party/rust/crates/cxx/tests/ui/
Dopaque_autotraits.stderr28 14 | assert_sync::<ffi::Opaque>();
43 note: required by a bound in `assert_sync`
46 9 | fn assert_sync<T: Sync>() {}
47 | ^^^^ required by this bound in `assert_sync`
Dopaque_autotraits.rs9 fn assert_sync<T: Sync>() {} in assert_sync() function
14 assert_sync::<ffi::Opaque>(); in main()
/third_party/rust/crates/syn/examples/lazy-static/lazy-static/src/
Dlib.rs97 let assert_sync = quote_spanned! {ty.span()=> in lazy_static() localVariable
125 #assert_sync in lazy_static()
/third_party/rust/crates/aho-corasick/src/
Dahocorasick.rs2131 fn assert_sync<T: Sync>() {} in oibits() function
2135 assert_sync::<AhoCorasick>(); in oibits()
2138 assert_sync::<AhoCorasickBuilder>(); in oibits()