fix Self
This commit is contained in:
parent
0c4062a94d
commit
7c2eb1cf41
1 changed files with 1 additions and 2 deletions
|
|
@ -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())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue