3 ms·
As far as I know that flag doesn't give you permission to create unknown variants or effect backend code generation that will assume there are only the defined
by gpm 5y ago
As far as I know that flag doesn't give you permission to create unknown variants or effect backend code generation that will assume there are only the defined variants. I could be wrong, but I don't see anything about this documented in the rfc: https://rust-lang.github.io/rfcs/2008-non-exhaustive.html https://rust-lang.github.io/rfcs/2008-non-exhaustive.html