summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/private-use.rs
blob: 689ed73140d98fc78f4c6fcb8c70bf4c9d421c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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::*;