]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/middle/typeck/infer/error_reporting.rs
auto merge of #15493 : brson/rust/tostr, r=pcwalton
[rust.git] / src / librustc / middle / typeck / infer / error_reporting.rs
index 2b5c95990c3860fe96d8d76a3a8a651fd5c9508a..cdd51c4fa71265d68bd9aa27c3bd354fd1743345 100644 (file)
@@ -895,9 +895,9 @@ fn rebuild_ty_params(&self,
                 ident: ty_param.ident,
                 id: ty_param.id,
                 bounds: bounds,
+                unbound: ty_param.unbound.clone(),
                 default: ty_param.default,
                 span: ty_param.span,
-                sized: ty_param.sized,
             }
         })
     }