Skip to content

Commit 48b3dd1

Browse files
committed
Adding FIXME for noop Substs::params.
1 parent 70569b3 commit 48b3dd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc/ty/subst.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ impl<'a, 'gcx, 'tcx> Substs<'tcx> {
250250

251251
#[inline]
252252
pub fn params(&self) -> &[Kind<'tcx>] {
253-
&self
253+
// FIXME (dikaiosune) this should be removed, and corresponding compilation errors fixed
254+
self
254255
}
255256

256257
#[inline]

0 commit comments

Comments
 (0)