mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
add missing associated item
This commit is contained in:
parent
300da9a910
commit
3e2763a215
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user