We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally reported with Cargo this code:
#![warn(rust_2018_compatibility)] extern crate serde; #[macro_use] extern crate serde_derive; use serde::{Deserialize, Deserializer}; macro_rules! event { ( pub struct $name:ident() {} ) => { #[derive(Deserialize)] pub struct $name { pub event_type: $crate::EventType, } } } pub enum EventType {} event! { pub struct CustomEvent() {} } impl<'de> Deserialize<'de> for EventType { fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error> where D: Deserializer<'de>, { unimplemented!() } }
gives an erroneous suggestion
which causes it to fail to be migrated by cargo fix
cargo fix
The text was updated successfully, but these errors were encountered:
@ehuss also notes that #56622 may have an impact on the severity of this
Sorry, something went wrong.
This appears to be fixed now, presumably by #57155.
Yay!
No branches or pull requests
Originally reported with Cargo this code:
gives an erroneous suggestion
which causes it to fail to be migrated by
cargo fix
The text was updated successfully, but these errors were encountered: