We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Self
1 parent 0c4062a commit 7c2eb1cCopy full SHA for 7c2eb1c
src/librustc/traits/engine.rs
@@ -53,8 +53,7 @@ pub trait TraitEngine<'tcx> {
53
}
54
55
impl<'a, 'gcx, 'tcx> dyn TraitEngine<'tcx> +'tcx {
56
- pub fn new(_tcx: TyCtxt<'_, '_, 'tcx>) -> Box<Self + 'tcx>
57
- {
+ pub fn new(_tcx: TyCtxt<'_, '_, 'tcx>) -> Box<Self> {
58
Box::new(FulfillmentContext::new())
59
60
0 commit comments