blob: b3c93d557ca1960a45e7479330a59eb2aaa72138 [file] [log] [blame]
// Part of the Crubit project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Automatically @generated Rust bindings for C++ target
// //rs_bindings_from_cc/test/golden:namespace_cc
#![rustfmt::skip]
#![feature(const_ptr_offset_from, custom_inner_attributes, negative_impls, type_alias_impl_trait)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#![deny(warnings)]
// Part of the Crubit project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
pub mod test_namespace_bindings {
#[::ctor::recursively_pinned]
#[repr(C)]
pub struct S {
pub i: i32,
}
forward_declare::unsafe_define!(
forward_declare::symbol!("S"),
crate::test_namespace_bindings::S
);
// rs_bindings_from_cc/test/golden/namespace.h;l=11
// Error while generating bindings for item 'S::S':
// Cannot generate bindings for overloaded function
impl<'b> ::ctor::CtorNew<&'b crate::test_namespace_bindings::S> for S {
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(args: &'b crate::test_namespace_bindings::S) -> Self::CtorType {
let __param_0 = args;
::ctor::FnCtor::new(
move |dest: ::std::pin::Pin<&mut ::std::mem::MaybeUninit<Self>>| unsafe {
crate::detail::__rust_thunk___ZN23test_namespace_bindings1SC1ERKS0_(
::std::pin::Pin::into_inner_unchecked(dest),
__param_0,
);
},
)
}
}
impl<'b> ::ctor::CtorNew<(&'b crate::test_namespace_bindings::S,)> for S {
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(args: (&'b crate::test_namespace_bindings::S,)) -> Self::CtorType {
let (arg,) = args;
<Self as ::ctor::CtorNew<&'b crate::test_namespace_bindings::S>>::ctor_new(arg)
}
}
impl<'b> ::ctor::CtorNew<::ctor::RvalueReference<'b, crate::test_namespace_bindings::S>> for S {
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(
args: ::ctor::RvalueReference<'b, crate::test_namespace_bindings::S>,
) -> Self::CtorType {
let __param_0 = args;
::ctor::FnCtor::new(
move |dest: ::std::pin::Pin<&mut ::std::mem::MaybeUninit<Self>>| unsafe {
crate::detail::__rust_thunk___ZN23test_namespace_bindings1SC1EOS0_(
::std::pin::Pin::into_inner_unchecked(dest),
__param_0,
);
},
)
}
}
impl<'b> ::ctor::CtorNew<(::ctor::RvalueReference<'b, crate::test_namespace_bindings::S>,)> for S {
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(
args: (::ctor::RvalueReference<'b, crate::test_namespace_bindings::S>,),
) -> Self::CtorType {
let (arg,) = args;
<Self as ::ctor::CtorNew<
::ctor::RvalueReference<'b, crate::test_namespace_bindings::S>,
>>::ctor_new(arg)
}
}
impl<'b> ::ctor::Assign<&'b crate::test_namespace_bindings::S> for S {
#[inline(always)]
fn assign<'a>(
self: ::std::pin::Pin<&'a mut Self>,
__param_0: &'b crate::test_namespace_bindings::S,
) {
unsafe {
crate::detail::__rust_thunk___ZN23test_namespace_bindings1SaSERKS0_(
self, __param_0,
);
}
}
}
impl<'b> ::ctor::Assign<::ctor::RvalueReference<'b, crate::test_namespace_bindings::S>> for S {
#[inline(always)]
fn assign<'a>(
self: ::std::pin::Pin<&'a mut Self>,
__param_0: ::ctor::RvalueReference<'b, crate::test_namespace_bindings::S>,
) {
unsafe {
crate::detail::__rust_thunk___ZN23test_namespace_bindings1SaSEOS0_(self, __param_0);
}
}
}
/// Free comment inside namespace
#[inline(always)]
pub fn f(s: crate::test_namespace_bindings::S) -> i32 {
unsafe { crate::detail::__rust_thunk___ZN23test_namespace_bindings1fENS_1SE(s) }
}
#[inline(always)]
pub fn inline_function() {
unsafe { crate::detail::__rust_thunk___ZN23test_namespace_bindings15inline_functionEv() }
}
pub mod inner {
#[inline(always)]
pub fn i() {
unsafe { crate::detail::__rust_thunk___ZN23test_namespace_bindings5inner1iEv() }
}
}
// namespace inner
}
// namespace test_namespace_bindings
#[inline(always)]
pub fn identity(
s: crate::test_namespace_bindings::S,
) -> impl ::ctor::Ctor<Output = crate::test_namespace_bindings::S> {
unsafe {
::ctor::FnCtor::new(
move |dest: ::std::pin::Pin<
&mut ::std::mem::MaybeUninit<crate::test_namespace_bindings::S>,
>| {
crate::detail::__rust_thunk___Z8identityN23test_namespace_bindings1SE(
::std::pin::Pin::into_inner_unchecked(dest),
s,
);
},
)
}
}
pub mod test_namespace_bindings_reopened_0 {
#[inline(always)]
pub fn x() {
unsafe { crate::detail::__rust_thunk___ZN32test_namespace_bindings_reopened1xEv() }
}
pub mod inner_0 {
#[::ctor::recursively_pinned]
#[repr(C)]
pub struct S {
__non_field_data: [::std::mem::MaybeUninit<u8>; 1],
}
forward_declare::unsafe_define!(
forward_declare::symbol!("S"),
crate::test_namespace_bindings_reopened::inner::S
);
// rs_bindings_from_cc/test/golden/namespace.h;l=31
// Error while generating bindings for item 'S::S':
// Cannot generate bindings for overloaded function
impl<'b> ::ctor::CtorNew<&'b crate::test_namespace_bindings_reopened::inner::S> for S {
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(
args: &'b crate::test_namespace_bindings_reopened::inner::S,
) -> Self::CtorType {
let __param_0 = args;
::ctor::FnCtor::new(
move |dest: ::std::pin::Pin<&mut ::std::mem::MaybeUninit<Self>>| unsafe {
crate::detail::__rust_thunk___ZN32test_namespace_bindings_reopened5inner1SC1ERKS1_(::std::pin::Pin::into_inner_unchecked(dest),__param_0);
},
)
}
}
impl<'b> ::ctor::CtorNew<(&'b crate::test_namespace_bindings_reopened::inner::S,)> for S {
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(
args: (&'b crate::test_namespace_bindings_reopened::inner::S,),
) -> Self::CtorType {
let (arg,) = args;
<Self as::ctor::CtorNew<&'b crate::test_namespace_bindings_reopened::inner::S>>::ctor_new(arg)
}
}
impl<'b>
::ctor::CtorNew<
::ctor::RvalueReference<'b, crate::test_namespace_bindings_reopened::inner::S>,
> for S
{
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(
args: ::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_reopened::inner::S,
>,
) -> Self::CtorType {
let __param_0 = args;
::ctor::FnCtor::new(
move |dest: ::std::pin::Pin<&mut ::std::mem::MaybeUninit<Self>>| unsafe {
crate::detail::__rust_thunk___ZN32test_namespace_bindings_reopened5inner1SC1EOS1_(::std::pin::Pin::into_inner_unchecked(dest),__param_0);
},
)
}
}
impl<'b>
::ctor::CtorNew<(
::ctor::RvalueReference<'b, crate::test_namespace_bindings_reopened::inner::S>,
)> for S
{
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(
args: (
::ctor::RvalueReference<'b, crate::test_namespace_bindings_reopened::inner::S>,
),
) -> Self::CtorType {
let (arg,) = args;
<Self as ::ctor::CtorNew<
::ctor::RvalueReference<'b, crate::test_namespace_bindings_reopened::inner::S>,
>>::ctor_new(arg)
}
}
impl<'b> ::ctor::Assign<&'b crate::test_namespace_bindings_reopened::inner::S> for S {
#[inline(always)]
fn assign<'a>(
self: ::std::pin::Pin<&'a mut Self>,
__param_0: &'b crate::test_namespace_bindings_reopened::inner::S,
) {
unsafe {
crate::detail::__rust_thunk___ZN32test_namespace_bindings_reopened5inner1SaSERKS1_(self,__param_0);
}
}
}
impl<'b>
::ctor::Assign<
::ctor::RvalueReference<'b, crate::test_namespace_bindings_reopened::inner::S>,
> for S
{
#[inline(always)]
fn assign<'a>(
self: ::std::pin::Pin<&'a mut Self>,
__param_0: ::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_reopened::inner::S,
>,
) {
unsafe {
crate::detail::__rust_thunk___ZN32test_namespace_bindings_reopened5inner1SaSEOS1_(self,__param_0);
}
}
}
}
// namespace inner
}
// namespace test_namespace_bindings_reopened
pub mod test_namespace_bindings_reopened {
pub use super::test_namespace_bindings_reopened_0::*;
#[inline(always)]
pub fn y() {
unsafe { crate::detail::__rust_thunk___ZN32test_namespace_bindings_reopened1yEv() }
}
pub mod inner {
pub use super::inner_0::*;
#[inline(always)]
pub fn z(s: crate::test_namespace_bindings_reopened::inner::S) {
unsafe {
crate::detail::__rust_thunk___ZN32test_namespace_bindings_reopened5inner1zENS0_1SE(
s,
)
}
}
}
// namespace inner
}
// namespace test_namespace_bindings_reopened
pub mod test_namespace_bindings_inline {
pub mod inner {
#[::ctor::recursively_pinned]
#[repr(C)]
pub struct StructInInlineNamespace {
__non_field_data: [::std::mem::MaybeUninit<u8>; 1],
}
forward_declare::unsafe_define!(
forward_declare::symbol!("StructInInlineNamespace"),
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace
);
impl ::ctor::CtorNew<()> for StructInInlineNamespace {
type CtorType = impl ::ctor::Ctor<Output = Self>;
#[inline(always)]
fn ctor_new(args: ()) -> Self::CtorType {
let () = args;
::ctor::FnCtor::new(
move |dest: ::std::pin::Pin<&mut ::std::mem::MaybeUninit<Self>>| unsafe {
crate::detail::__rust_thunk___ZN30test_namespace_bindings_inline5inner23StructInInlineNamespaceC1Ev(::std::pin::Pin::into_inner_unchecked(dest));
},
)
}
}
impl<'b>
::ctor::CtorNew<
&'b crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
> for StructInInlineNamespace
{
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(
args: &'b crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
) -> Self::CtorType {
let __param_0 = args;
::ctor::FnCtor::new(
move |dest: ::std::pin::Pin<&mut ::std::mem::MaybeUninit<Self>>| unsafe {
crate::detail::__rust_thunk___ZN30test_namespace_bindings_inline5inner23StructInInlineNamespaceC1ERKS1_(::std::pin::Pin::into_inner_unchecked(dest),__param_0);
},
)
}
}
impl<'b>
::ctor::CtorNew<(
&'b crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
)> for StructInInlineNamespace
{
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(
args: (&'b crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,),
) -> Self::CtorType {
let (arg,) = args;
<Self as ::ctor::CtorNew<
&'b crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>>::ctor_new(arg)
}
}
impl<'b>
::ctor::CtorNew<
::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
> for StructInInlineNamespace
{
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(
args: ::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
) -> Self::CtorType {
let __param_0 = args;
::ctor::FnCtor::new(
move |dest: ::std::pin::Pin<&mut ::std::mem::MaybeUninit<Self>>| unsafe {
crate::detail::__rust_thunk___ZN30test_namespace_bindings_inline5inner23StructInInlineNamespaceC1EOS1_(::std::pin::Pin::into_inner_unchecked(dest),__param_0);
},
)
}
}
impl<'b>
::ctor::CtorNew<(
::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
)> for StructInInlineNamespace
{
type CtorType = impl ::ctor::Ctor<Output = Self> + 'b;
#[inline(always)]
fn ctor_new(
args: (
::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
),
) -> Self::CtorType {
let (arg,) = args;
<Self as ::ctor::CtorNew<
::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
>>::ctor_new(arg)
}
}
impl<'b>
::ctor::Assign<
&'b crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
> for StructInInlineNamespace
{
#[inline(always)]
fn assign<'a>(
self: ::std::pin::Pin<&'a mut Self>,
__param_0:&'b crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
) {
unsafe {
crate::detail::__rust_thunk___ZN30test_namespace_bindings_inline5inner23StructInInlineNamespaceaSERKS1_(self,__param_0);
}
}
}
impl<'b>
::ctor::Assign<
::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
> for StructInInlineNamespace
{
#[inline(always)]
fn assign<'a>(
self: ::std::pin::Pin<&'a mut Self>,
__param_0: ::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
) {
unsafe {
crate::detail::__rust_thunk___ZN30test_namespace_bindings_inline5inner23StructInInlineNamespaceaSEOS1_(self,__param_0);
}
}
}
}
// namespace inner
}
// namespace test_namespace_bindings_inline
#[inline(always)]
pub fn useStructInInlineNamespaceWithFullQualifier(
s: crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
) {
unsafe {
crate::detail::__rust_thunk___Z43useStructInInlineNamespaceWithFullQualifierN30test_namespace_bindings_inline5inner23StructInInlineNamespaceE(s)
}
}
#[inline(always)]
pub fn useStructInInlineNamespaceSkipInlineQualifier(
s: crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
) {
unsafe {
crate::detail::__rust_thunk___Z45useStructInInlineNamespaceSkipInlineQualifierN30test_namespace_bindings_inline5inner23StructInInlineNamespaceE(s)
}
}
// THIRD_PARTY_CRUBIT_RS_BINDINGS_FROM_CC_TEST_GOLDEN_NAMESPACE_H_
mod detail {
#[allow(unused_imports)]
use super::*;
extern "C" {
pub(crate) fn __rust_thunk___ZN23test_namespace_bindings1SC1ERKS0_<'a, 'b>(
__this: &'a mut ::std::mem::MaybeUninit<crate::test_namespace_bindings::S>,
__param_0: &'b crate::test_namespace_bindings::S,
);
pub(crate) fn __rust_thunk___ZN23test_namespace_bindings1SC1EOS0_<'a, 'b>(
__this: &'a mut ::std::mem::MaybeUninit<crate::test_namespace_bindings::S>,
__param_0: ::ctor::RvalueReference<'b, crate::test_namespace_bindings::S>,
);
pub(crate) fn __rust_thunk___ZN23test_namespace_bindings1SaSERKS0_<'a, 'b>(
__this: ::std::pin::Pin<&'a mut crate::test_namespace_bindings::S>,
__param_0: &'b crate::test_namespace_bindings::S,
) -> ::std::pin::Pin<&'a mut crate::test_namespace_bindings::S>;
pub(crate) fn __rust_thunk___ZN23test_namespace_bindings1SaSEOS0_<'a, 'b>(
__this: ::std::pin::Pin<&'a mut crate::test_namespace_bindings::S>,
__param_0: ::ctor::RvalueReference<'b, crate::test_namespace_bindings::S>,
) -> ::std::pin::Pin<&'a mut crate::test_namespace_bindings::S>;
#[link_name = "_ZN23test_namespace_bindings1fENS_1SE"]
pub(crate) fn __rust_thunk___ZN23test_namespace_bindings1fENS_1SE(
s: crate::test_namespace_bindings::S,
) -> i32;
pub(crate) fn __rust_thunk___ZN23test_namespace_bindings15inline_functionEv();
#[link_name = "_ZN23test_namespace_bindings5inner1iEv"]
pub(crate) fn __rust_thunk___ZN23test_namespace_bindings5inner1iEv();
pub(crate) fn __rust_thunk___Z8identityN23test_namespace_bindings1SE(
__return: &mut ::std::mem::MaybeUninit<crate::test_namespace_bindings::S>,
s: crate::test_namespace_bindings::S,
);
#[link_name = "_ZN32test_namespace_bindings_reopened1xEv"]
pub(crate) fn __rust_thunk___ZN32test_namespace_bindings_reopened1xEv();
pub(crate) fn __rust_thunk___ZN32test_namespace_bindings_reopened5inner1SC1ERKS1_<'a, 'b>(
__this: &'a mut ::std::mem::MaybeUninit<
crate::test_namespace_bindings_reopened::inner::S,
>,
__param_0: &'b crate::test_namespace_bindings_reopened::inner::S,
);
pub(crate) fn __rust_thunk___ZN32test_namespace_bindings_reopened5inner1SC1EOS1_<'a, 'b>(
__this: &'a mut ::std::mem::MaybeUninit<
crate::test_namespace_bindings_reopened::inner::S,
>,
__param_0: ::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_reopened::inner::S,
>,
);
pub(crate) fn __rust_thunk___ZN32test_namespace_bindings_reopened5inner1SaSERKS1_<'a, 'b>(
__this: ::std::pin::Pin<&'a mut crate::test_namespace_bindings_reopened::inner::S>,
__param_0: &'b crate::test_namespace_bindings_reopened::inner::S,
) -> ::std::pin::Pin<&'a mut crate::test_namespace_bindings_reopened::inner::S>;
pub(crate) fn __rust_thunk___ZN32test_namespace_bindings_reopened5inner1SaSEOS1_<'a, 'b>(
__this: ::std::pin::Pin<&'a mut crate::test_namespace_bindings_reopened::inner::S>,
__param_0: ::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_reopened::inner::S,
>,
) -> ::std::pin::Pin<&'a mut crate::test_namespace_bindings_reopened::inner::S>;
#[link_name = "_ZN32test_namespace_bindings_reopened1yEv"]
pub(crate) fn __rust_thunk___ZN32test_namespace_bindings_reopened1yEv();
#[link_name = "_ZN32test_namespace_bindings_reopened5inner1zENS0_1SE"]
pub(crate) fn __rust_thunk___ZN32test_namespace_bindings_reopened5inner1zENS0_1SE(
s: crate::test_namespace_bindings_reopened::inner::S,
);
pub(crate) fn __rust_thunk___ZN30test_namespace_bindings_inline5inner23StructInInlineNamespaceC1Ev<
'a,
>(
__this: &'a mut ::std::mem::MaybeUninit<
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
);
pub(crate) fn __rust_thunk___ZN30test_namespace_bindings_inline5inner23StructInInlineNamespaceC1ERKS1_<
'a,
'b,
>(
__this: &'a mut ::std::mem::MaybeUninit<
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
__param_0: &'b crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
);
pub(crate) fn __rust_thunk___ZN30test_namespace_bindings_inline5inner23StructInInlineNamespaceC1EOS1_<
'a,
'b,
>(
__this: &'a mut ::std::mem::MaybeUninit<
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
__param_0: ::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
);
pub(crate) fn __rust_thunk___ZN30test_namespace_bindings_inline5inner23StructInInlineNamespaceaSERKS1_<
'a,
'b,
>(
__this: ::std::pin::Pin<
&'a mut crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
__param_0: &'b crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
) -> ::std::pin::Pin<
&'a mut crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>;
pub(crate) fn __rust_thunk___ZN30test_namespace_bindings_inline5inner23StructInInlineNamespaceaSEOS1_<
'a,
'b,
>(
__this: ::std::pin::Pin<
&'a mut crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
__param_0: ::ctor::RvalueReference<
'b,
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>,
) -> ::std::pin::Pin<
&'a mut crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
>;
#[link_name = "_Z43useStructInInlineNamespaceWithFullQualifierN30test_namespace_bindings_inline5inner23StructInInlineNamespaceE"]
pub(crate) fn __rust_thunk___Z43useStructInInlineNamespaceWithFullQualifierN30test_namespace_bindings_inline5inner23StructInInlineNamespaceE(
s: crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
);
#[link_name = "_Z45useStructInInlineNamespaceSkipInlineQualifierN30test_namespace_bindings_inline5inner23StructInInlineNamespaceE"]
pub(crate) fn __rust_thunk___Z45useStructInInlineNamespaceSkipInlineQualifierN30test_namespace_bindings_inline5inner23StructInInlineNamespaceE(
s: crate::test_namespace_bindings_inline::inner::StructInInlineNamespace,
);
}
}
const _: () = assert!(::std::mem::size_of::<Option<&i32>>() == ::std::mem::size_of::<&i32>());
const _: () = assert!(::std::mem::size_of::<crate::test_namespace_bindings::S>() == 4);
const _: () = assert!(::std::mem::align_of::<crate::test_namespace_bindings::S>() == 4);
const _: () = {
static_assertions::assert_not_impl_any!(crate::test_namespace_bindings::S: Copy);
};
const _: () = {
static_assertions::assert_not_impl_any!(crate::test_namespace_bindings::S: Drop);
};
const _: () =
assert!(memoffset_unstable_const::offset_of!(crate::test_namespace_bindings::S, i) == 0);
const _: () =
assert!(::std::mem::size_of::<crate::test_namespace_bindings_reopened::inner::S>() == 1);
const _: () =
assert!(::std::mem::align_of::<crate::test_namespace_bindings_reopened::inner::S>() == 1);
const _: () = {
static_assertions::assert_not_impl_any!(
crate::test_namespace_bindings_reopened::inner::S: Copy
);
};
const _: () = {
static_assertions::assert_not_impl_any!(
crate::test_namespace_bindings_reopened::inner::S: Drop
);
};
const _: () = assert!(
::std::mem::size_of::<crate::test_namespace_bindings_inline::inner::StructInInlineNamespace>()
== 1
);
const _: () = assert!(
::std::mem::align_of::<crate::test_namespace_bindings_inline::inner::StructInInlineNamespace>()
== 1
);
const _: () = {
static_assertions::assert_not_impl_any!(
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace: Copy
);
};
const _: () = {
static_assertions::assert_not_impl_any!(
crate::test_namespace_bindings_inline::inner::StructInInlineNamespace: Drop
);
};