fix release builds and sussy generation of inline type bounds

This commit is contained in:
wackbyte 2022-06-17 21:45:50 -04:00
parent 65327a94f4
commit dfdf052962
No known key found for this signature in database
GPG key ID: 937F2AE5CCEFBF59
2 changed files with 16 additions and 6 deletions

View file

@ -85,7 +85,7 @@ impl InternalAccursedUnutterableTypeId {
#[cfg(not(debug_assertions))]
impl InternalAccursedUnutterableTypeId {
pub fn new(n: u64) -> Self {
pub fn __internal_new(n: u64) -> Self {
Self(n)
}
fn inner(self) -> u64 {
@ -136,6 +136,18 @@ mod __doctest {
/// ```
mod complex {}
/// ```
/// use accursed_unutterable_type_id::AccursedUnutterablyTypeIdentified;
///
/// trait Sussy {}
///
/// #[derive(AccursedUnutterablyTypeIdentified)]
/// struct Uwu<T: Sussy, const N: usize> {
/// _x: [T; N],
/// }
/// ```
mod type_bounds {}
/// ```
/// use accursed_unutterable_type_id::AccursedUnutterablyTypeIdentified;
///