]> git.lizzy.rs Git - rust.git/commit
Auto merge of #51750 - zackmdavis:superstructure, r=oli-obk
authorbors <bors@rust-lang.org>
Mon, 25 Jun 2018 13:43:22 +0000 (13:43 +0000)
committerbors <bors@rust-lang.org>
Mon, 25 Jun 2018 13:43:22 +0000 (13:43 +0000)
commit8acec1f9d0b40dde142e6c26d7358b9ab232d2b4
treeee8312ba11e731b1ea6c6e277c8dd9bfb36fc312
parentecfe37056fa2abc79a4b97ff1c651fae47f66845
parent0b39a82cf49bc376e568560e4f97360f477255d4
Auto merge of #51750 - zackmdavis:superstructure, r=oli-obk

three diagnostics upgrades

 * reword `...` expression syntax error to not imply that you should use it in patterns either (#51043) and make it a structured suggestion
 * shorten the top-line message for the trivial-casts lint by tucking the advisory sentence into a help note
 * structured suggestion for pattern-named-the-same-as-variant warning

r? @oli-obk