From 48b3dd11f59f48819031206ee2b3ab98ceae1550 Mon Sep 17 00:00:00 2001 From: Adam Perry Date: Tue, 11 Oct 2016 22:06:40 -0700 Subject: [PATCH] Adding FIXME for noop Substs::params. --- src/librustc/ty/subst.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]