diff --git a/src/librustc/ty/subst.rs b/src/librustc/ty/subst.rs index 14deb6820ee..7d7bbd93122 100644 --- a/src/librustc/ty/subst.rs +++ b/src/librustc/ty/subst.rs @@ -250,7 +250,8 @@ impl<'a, 'gcx, 'tcx> Substs<'tcx> { #[inline] pub fn params(&self) -> &[Kind<'tcx>] { - &self + // FIXME (dikaiosune) this should be removed, and corresponding compilation errors fixed + self } #[inline]