Skip to content

Conversation

@ehuss
Copy link

@ehuss ehuss commented Dec 13, 2019

Break out of highlighting an enum definition when there is invalid syntax. This often happens with things like serde's forward_to_deserialize_any, it would get confused for many lines following.

    serde::forward_to_deserialize_any! {
        f32 f64 char str bytes
        byte_buf unit unit_struct
        enum identifier ignored_any newtype_struct
    }

@ehuss ehuss merged commit be113dd into rust-lang:master Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant