no group semantics for Empty

This commit is contained in:
Aiden McClelland
2026-03-18 17:33:30 -06:00
parent 03f445c9e6
commit 14fb3e2e5c

View File

@@ -452,6 +452,7 @@ where
#[derive(Debug, Clone, Copy, Deserialize, Serialize, Parser)] #[derive(Debug, Clone, Copy, Deserialize, Serialize, Parser)]
#[cfg_attr(feature = "ts-rs", derive(ts_rs::TS))] #[cfg_attr(feature = "ts-rs", derive(ts_rs::TS))]
#[cfg_attr(feature = "ts-rs", ts(type = "{}"))] #[cfg_attr(feature = "ts-rs", ts(type = "{}"))]
#[group(skip)]
pub struct Empty {} pub struct Empty {}
pub trait OrEmpty<T> { pub trait OrEmpty<T> {
@@ -469,4 +470,5 @@ impl<A, B> OrEmpty<Flat<A, B>> for Empty {
} }
#[derive(Debug, Clone, Copy, Deserialize, Serialize, Parser)] #[derive(Debug, Clone, Copy, Deserialize, Serialize, Parser)]
#[group(skip)]
pub enum Never {} pub enum Never {}