2023-07-25 19:11:35 -05:00
|
|
|
#![crate_name = "user"]
|
|
|
|
|
|
|
|
//@ aux-crate:impl_sized=impl-sized.rs
|
|
|
|
//@ edition:2021
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has user/fn.sized.html
|
|
|
|
//@ has - '//pre[@class="rust item-decl"]' "sized(x: impl Sized) -> impl Sized"
|
2023-07-25 19:11:35 -05:00
|
|
|
pub use impl_sized::sized;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has user/fn.sized_outlives.html
|
|
|
|
//@ has - '//pre[@class="rust item-decl"]' \
|
2023-07-25 19:11:35 -05:00
|
|
|
// "sized_outlives<'a>(x: impl Sized + 'a) -> impl Sized + 'a"
|
|
|
|
pub use impl_sized::sized_outlives;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has user/fn.maybe_sized.html
|
|
|
|
//@ has - '//pre[@class="rust item-decl"]' "maybe_sized(x: &impl ?Sized) -> &impl ?Sized"
|
2023-07-25 19:11:35 -05:00
|
|
|
pub use impl_sized::maybe_sized;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has user/fn.debug_maybe_sized.html
|
|
|
|
//@ has - '//pre[@class="rust item-decl"]' \
|
2023-07-25 19:11:35 -05:00
|
|
|
// "debug_maybe_sized(x: &(impl Debug + ?Sized)) -> &(impl Debug + ?Sized)"
|
|
|
|
pub use impl_sized::debug_maybe_sized;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has user/fn.maybe_sized_outlives.html
|
|
|
|
//@ has - '//pre[@class="rust item-decl"]' \
|
2023-07-25 19:11:35 -05:00
|
|
|
// "maybe_sized_outlives<'t>(x: &(impl ?Sized + 't)) -> &(impl ?Sized + 't)"
|
|
|
|
pub use impl_sized::maybe_sized_outlives;
|