Auto merge of #43178 - zackmdavis:some_suggestion, r=eddyb
suggest one-argument enum variant to fix type mismatch when applicable Following @est31's [suggestion](https://github.com/rust-lang/rust/issues/42764#issuecomment-309680886). ![some_suggestion](https://user-images.githubusercontent.com/1076988/28101064-ee83f51e-667a-11e7-9e4f-d8f9eb2fb6c3.png) Resolves #42764.
Showing
想要评论请 注册 或 登录