blob: c2185f10d405970f04e10065a7e875910a7fb8f5 [file] [edit]
// Regression test for <https://github.com/rust-lang/rust/pull/113374> to
// ensure it doesn't panic.
//@ check-pass
mod generics {
pub enum WherePredicate {
EqPredicate,
}
}
pub mod visit {
use *;
pub fn visit_where_predicate<V>(_visitor: &mut V, _i: &WherePredicate) {}
}
pub use generics::*;