forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check implementing type for
#[doc(hidden)]
Closes rust-lang#85526.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// check-pass | ||
// See issue #85526. | ||
// This test should produce no warnings. | ||
|
||
#![deny(missing_docs)] | ||
//! Crate docs | ||
#[doc(hidden)] | ||
pub struct Foo; | ||
|
||
impl Foo { | ||
pub fn bar() {} | ||
} | ||
|
||
fn main() {} |