]> git.lizzy.rs Git - rust.git/commitdiff
concerning well-formed suggestions for unused shorthand field patterns
authorZack M. Davis <code@zackmdavis.net>
Thu, 1 Feb 2018 04:56:01 +0000 (20:56 -0800)
committerZack M. Davis <code@zackmdavis.net>
Thu, 1 Feb 2018 05:27:16 +0000 (21:27 -0800)
Previously, unused variables would get a note that the warning could be
silenced by prefixing the variable with an underscore, but that doesn't
work for field shorthand patterns, which the liveness analysis didn't
know about.

The "to avoid this warning" verbiage seemed unnecessary.

Resolves #47390.


No differences found