-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-edition-2021Area: The 2021 editionArea: The 2021 edition
Milestone
Description
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
Labels
A-edition-2021Area: The 2021 editionArea: The 2021 edition