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.
1 parent f74d06c commit 28f24ebCopy full SHA for 28f24eb
src/librustdoc/clean/auto_trait.rs
@@ -24,7 +24,10 @@ pub(crate) struct AutoTraitFinder<'a, 'tcx> {
24
pub(crate) cx: &'a mut core::DocContext<'tcx>,
25
}
26
27
-impl<'a, 'tcx> AutoTraitFinder<'a, 'tcx> {
+impl<'a, 'tcx> AutoTraitFinder<'a, 'tcx>
28
+where
29
+ 'tcx: 'a, // should be an implied bound; rustc bug #98852.
30
+{
31
pub(crate) fn new(cx: &'a mut core::DocContext<'tcx>) -> Self {
32
AutoTraitFinder { cx }
33
0 commit comments