Skip to content

Commit 3e2763a

Browse files
committed
add missing associated item
1 parent 300da9a commit 3e2763a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_type_ir/src/outlives.rs

+3
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ struct OutlivesCollector<'a, I: Interner> {
6868
}
6969

7070
impl<I: Interner> TypeVisitor<I> for OutlivesCollector<'_, I> {
71+
#[cfg(not(feature = "nightly"))]
72+
type Result = ();
73+
7174
fn visit_ty(&mut self, ty: I::Ty) -> Self::Result {
7275
if !self.visited.insert(ty) {
7376
return;

0 commit comments

Comments
 (0)