summary refs log tree commit diff
path: root/src/test/ui/issues/issue-11592.rs
blob: e2028bd56f9bf0b0328c6706fb9babb1368bbe08 (plain)
1
2
3
4
5
6
7
8
9
10
11
// compile-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() { }