summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-11592.rs
blob: a4611f2f90ecbc1573660bb46c8df439ea712f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
//! Ensure the private trait Bar isn't complained about.

#![deny(missing_docs)]

mod foo {
    trait Bar { fn bar(&self) { } }
    impl Bar for i8 { fn bar(&self) { } }
}

fn main() { }