Skip to content

non-reference pattern used to match a reference (see issue #42640) #115

Description

@zigguratvertigo

Hi!

On grabbing 0.2.9 from crates.io last night, I hit the following error several times as it tries to compile structopt-derive:

error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> C:...\structopt-derive-0.2.9\src\attrs.rs:112:17
|
112 | / NameValue(MetaNameValue {
113 | | ident,
114 | | lit: Str(value),
115 | | ..
116 | | }) => self.push_str_method(&ident.to_string(), &value.value()),
| |__________________^
help: consider using a reference

Known issue?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions