Skip to content

Commit 7c2eb1c

Browse files
nikomatsakiscsmoe
authored andcommitted
fix Self
1 parent 0c4062a commit 7c2eb1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc/traits/engine.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ pub trait TraitEngine<'tcx> {
5353
}
5454

5555
impl<'a, 'gcx, 'tcx> dyn TraitEngine<'tcx> +'tcx {
56-
pub fn new(_tcx: TyCtxt<'_, '_, 'tcx>) -> Box<Self + 'tcx>
57-
{
56+
pub fn new(_tcx: TyCtxt<'_, '_, 'tcx>) -> Box<Self> {
5857
Box::new(FulfillmentContext::new())
5958
}
6059

0 commit comments

Comments
 (0)