This commit is contained in:
Niko Matsakis 2018-03-22 12:06:24 -04:00 committed by csmoe
parent 0c4062a94d
commit 7c2eb1cf41

View file

@ -53,8 +53,7 @@ pub trait TraitEngine<'tcx> {
}
impl<'a, 'gcx, 'tcx> dyn TraitEngine<'tcx> +'tcx {
pub fn new(_tcx: TyCtxt<'_, '_, 'tcx>) -> Box<Self + 'tcx>
{
pub fn new(_tcx: TyCtxt<'_, '_, 'tcx>) -> Box<Self> {
Box::new(FulfillmentContext::new())
}