rust/tests/rustdoc-ui/hidden-trait-method-34423.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
174 B
Rust
Raw Normal View History

2023-11-23 21:54:19 +00:00
//@ check-pass
2023-11-20 18:50:25 +00:00
// https://github.com/rust-lang/rust/issues/34423
pub struct Foo;
pub trait Bar {
#[doc(hidden)]
fn bar() {}
}
impl Bar for Foo {
fn bar() {}
}