add missing associated item

This commit is contained in:
Rémy Rakic 2024-08-24 20:38:11 +00:00
parent 300da9a910
commit 3e2763a215

View File

@ -68,6 +68,9 @@ struct OutlivesCollector<'a, I: Interner> {
}
impl<I: Interner> TypeVisitor<I> for OutlivesCollector<'_, I> {
#[cfg(not(feature = "nightly"))]
type Result = ();
fn visit_ty(&mut self, ty: I::Ty) -> Self::Result {
if !self.visited.insert(ty) {
return;