about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-03-18 21:40:45 +0000
committervarkor <github@varkor.com>2019-05-01 23:11:19 +0100
commitf2416936620f86a8c520a6128aaa461fc5b88c7c (patch)
tree40af11ccffcac8e0e43791386945b8e4f8a68c55
parentd8b9387ace8331ce1a61d496c8f3251ac1de6928 (diff)
downloadrust-f2416936620f86a8c520a6128aaa461fc5b88c7c.tar.gz
rust-f2416936620f86a8c520a6128aaa461fc5b88c7c.zip
Fix missing parenthesis
-rw-r--r--src/librustc/ty/relate.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/relate.rs b/src/librustc/ty/relate.rs
index 1ba5a67f736..d9e224b3648 100644
--- a/src/librustc/ty/relate.rs
+++ b/src/librustc/ty/relate.rs
@@ -635,7 +635,7 @@ where
                 Ok(tcx.mk_const(ty::Const {
                     val: ConstValue::Unevaluated(a_def_id, &substs),
                     ty: a.ty,
-                })
+                }))
             }
 
             _ => {