Home
last modified time | relevance | path

Searched refs:assert_impl_all (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/static-assertions-rs/tests/
Dtrait_impl.rs13 assert_impl_all!(u64: Tri<[&'static u8], dyn Tri<dyn Send, dyn Sync, str>, (u16, u16)>);
14 assert_impl_all!(u8: Send, Sync);
15 assert_impl_all!(&'static [u8]: IntoIterator<Item=&'static u8>);
16 assert_impl_all!(Range<u8>: Iterator<Item=u8>);
17 assert_impl_all!([u8]: Send, Sync, AsRef<[u8]>);
18 assert_impl_all!(str: Send, Sync, AsRef<[u8]>,);
/third_party/rust/crates/static-assertions-rs/src/
Dassert_impl.rs113 macro_rules! assert_impl_all { macro
117 fn assert_impl_all<T: ?Sized $(+ $trait)+>() {}
118 assert_impl_all::<$type>();
/third_party/rust/crates/static-assertions-rs/
DREADME.md55 - [`assert_impl_all!`]
89 [`assert_impl_all!`], one can ensure this:
96 assert_impl_all!(Foo: Send, Sync);
176 [`assert_impl_all!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert…
DCHANGELOG.md48 - Aliased `assert_impl!` to `assert_impl_all!` and deprecated `assert_impl!`
51 - `assert_impl_all!` as replacement to `assert_impl!`
53 `assert_impl_all!`
/third_party/rust/crates/clap/src/parser/
Derror.rs58 static_assertions::assert_impl_all!( in check_auto_traits()
/third_party/rust/crates/clap/src/error/
Dmod.rs875 static_assertions::assert_impl_all!(Error: Send, Sync, Unpin); in check_auto_traits()
/third_party/rust/crates/clap/src/parser/matches/
Darg_matches.rs1895 static_assertions::assert_impl_all!(ArgMatches: Send, Sync, Unpin); in check_auto_traits()
/third_party/rust/crates/clap/src/builder/
Dcommand.rs4702 static_assertions::assert_impl_all!(Command: Send, Sync, Unpin); in check_auto_traits()