fix rustdoc regression
This commit is contained in:
parent
f74d06c2d1
commit
28f24ebe9f
@ -24,7 +24,10 @@ pub(crate) struct AutoTraitFinder<'a, 'tcx> {
|
||||
pub(crate) cx: &'a mut core::DocContext<'tcx>,
|
||||
}
|
||||
|
||||
impl<'a, 'tcx> AutoTraitFinder<'a, 'tcx> {
|
||||
impl<'a, 'tcx> AutoTraitFinder<'a, 'tcx>
|
||||
where
|
||||
'tcx: 'a, // should be an implied bound; rustc bug #98852.
|
||||
{
|
||||
pub(crate) fn new(cx: &'a mut core::DocContext<'tcx>) -> Self {
|
||||
AutoTraitFinder { cx }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user