use impossible enum type

This commit is contained in:
Alex 2023-01-03 16:04:06 +01:00
parent c106304b9c
commit 1d5bdc17a4
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE

View file

@ -58,7 +58,7 @@ impl<T: InitialFormat> Migrate for T {
/// Internal type used by InitialFormat, not meant for general use.
#[derive(Serialize, Deserialize)]
pub struct NoPrevious;
pub enum NoPrevious {}
impl Migrate for NoPrevious {
type Previous = NoPrevious;