Lines Matching defs:_
139 fn is_safe<Alignment>($candidate: Maybe<'_, Self, Alignment>) -> bool
151 fn is_safe<Alignment>(_candidate: Maybe<'_, Self, Alignment>) -> bool
179 const _: () = {
184 // reciprocal `TransmuteFrom<_, Safe, Safe>` bounds and `R: $trait`.
237 fn is_safe<Alignment>(candidate: $crate::Maybe<'_, Self, Alignment>) -> bool
244 <$repr as TryFromBytes>::is_safe(candidate.transmute::<_, _, BecauseImmutable>())
352 /// `const _: () = unsafe` macro). The reason for this restriction is that,
374 /// const _: () = unsafe {
440 const _: () = {
577 let panic: [_; 0] = [];
602 let _: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e)));
613 let _: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e), ": ", stringify!($arg)), $($args)*);
632 let _: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e) $(, ": ", $msg)?));
727 fn project(src: $crate::pointer::PtrInner<'_, $src>) -> *mut $dst {
812 const _: () = {
969 format = concat!($format, "_", $variant),
970 bench = concat!($bench, "_", $variant)