Add test for #105022
This commit is contained in:
parent
52be350445
commit
79d897b22a
@ -0,0 +1,2 @@
|
|||||||
|
/// The Docs
|
||||||
|
pub trait HasDocs {}
|
10
src/test/rustdoc-json/reexport/synthesize_trait_with_docs.rs
Normal file
10
src/test/rustdoc-json/reexport/synthesize_trait_with_docs.rs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
// Regression test for <https://github.com/rust-lang/rust/issues/105022>
|
||||||
|
// aux-build: trait_with_docs.rs
|
||||||
|
|
||||||
|
extern crate trait_with_docs;
|
||||||
|
|
||||||
|
pub struct Local;
|
||||||
|
|
||||||
|
impl trait_with_docs::HasDocs for Local {}
|
||||||
|
|
||||||
|
// @!has "$.index[*][?(@.name == 'HasDocs')]"
|
Loading…
Reference in New Issue
Block a user