You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use serde::{Deserialize,Deserializer};pubenumMessage{}impl<'de>Deserialize<'de>forMessage{fndeserialize<D>(_deserializer:D) -> Result<Self,D::Error>whereD:Deserializer<'de>,{#[derive(Deserialize)]pubstructRawMessage{}}}
I expected to see this happen: Get a type error. This is reduced from a much larger example.
Instead, this happened: rustc overflows its stack.
I tried this code:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=56914d5ac20726d98a92eb173281eb09
I expected to see this happen: Get a type error. This is reduced from a much larger example.
Instead, this happened:
rustc
overflows its stack.Meta
rustc --version --verbose
:This bug is also present on nightly.
Backtrace
The text was updated successfully, but these errors were encountered: