blob: cb1a92e809a9dc8109c98377c9185f85526f630c (
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() { }
|