Skip to content

Commit 47ac6e6

Browse files
committed
Remove unnecessary features in rustc_ty
1 parent 69422c9 commit 47ac6e6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/librustc_ty/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
77
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
88
#![feature(bool_to_option)]
9-
#![feature(in_band_lifetimes)]
109
#![feature(nll)]
11-
#![cfg_attr(bootstrap, feature(slice_patterns))]
1210
#![recursion_limit = "256"]
1311

1412
#[macro_use]

src/librustc_ty/ty.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ use rustc_hir::def_id::{CrateNum, DefId, LOCAL_CRATE};
99
use rustc_span::symbol::Symbol;
1010
use rustc_span::Span;
1111

12-
fn sized_constraint_for_ty(tcx: TyCtxt<'tcx>, adtdef: &ty::AdtDef, ty: Ty<'tcx>) -> Vec<Ty<'tcx>> {
12+
fn sized_constraint_for_ty<'tcx>(
13+
tcx: TyCtxt<'tcx>,
14+
adtdef: &ty::AdtDef,
15+
ty: Ty<'tcx>,
16+
) -> Vec<Ty<'tcx>> {
1317
use ty::TyKind::*;
1418

1519
let result = match ty.kind {

0 commit comments

Comments
 (0)