rust/tests/rustdoc/private-use.rs

14 lines
305 B
Rust
Raw Normal View History

2023-07-25 16:14:09 -05:00
// Regression test for <https://github.com/rust-lang/rust/pull/113374> to
// ensure it doesn't panic.
mod generics {
pub enum WherePredicate {
EqPredicate,
}
}
pub mod visit {
use *;
pub fn visit_where_predicate<V>(_visitor: &mut V, _i: &WherePredicate) {}
}
pub use generics::*;