mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
14 lines
174 B
Rust
14 lines
174 B
Rust
//@ check-pass
|
|
// https://github.com/rust-lang/rust/issues/34423
|
|
|
|
pub struct Foo;
|
|
|
|
pub trait Bar {
|
|
#[doc(hidden)]
|
|
fn bar() {}
|
|
}
|
|
|
|
impl Bar for Foo {
|
|
fn bar() {}
|
|
}
|