提交 fa787454 编写于 作者: N Niko Matsakis

pacify the mercilous tidy: user-ty on rvalue assignments

上级 6f731274
......@@ -919,7 +919,11 @@ fn check_stmt(&mut self, mir: &Mir<'tcx>, stmt: &Statement<'tcx>, location: Loca
}
if let Some(user_ty) = self.rvalue_user_ty(rv) {
if let Err(terr) = self.eq_canonical_type_and_type(user_ty, rv_ty, location.boring()) {
if let Err(terr) = self.eq_canonical_type_and_type(
user_ty,
rv_ty,
location.boring(),
) {
span_mirbug!(
self,
stmt,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册