Closed
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