Skip to content

RFC 2229 - closure migration suggestion bug? #89080

Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum

https://github.com/rust-lang/rust/pull/89075/files#r711626103 notes that our migrations suggested adding a let _ = &config; here. However, I would've expected that to not happen, because config is not a type with significant destructors (as far as I can tell). Maybe there's a bug here?

config has type LangString, which only contains Vec<String>, but I would expect that type to not trigger our migration tooling as it has trivial dtors.

cc @rust-lang/wg-rfc-2229

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions