rustdoc: add test case for masked blanket impl
This commit is contained in:
parent
d7dd01fe8b
commit
8de7a4f21c
@ -8,3 +8,7 @@ pub trait MaskedTrait {
|
|||||||
impl MaskedTrait for String {
|
impl MaskedTrait for String {
|
||||||
fn masked_method() {}
|
fn masked_method() {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub trait MaskedBlanketTrait {}
|
||||||
|
|
||||||
|
impl<T> MaskedBlanketTrait for T {}
|
||||||
|
@ -10,6 +10,7 @@ extern crate masked;
|
|||||||
// @!hasraw 'search-index.js' 'masked_method'
|
// @!hasraw 'search-index.js' 'masked_method'
|
||||||
|
|
||||||
// @!hasraw 'foo/struct.String.html' 'MaskedTrait'
|
// @!hasraw 'foo/struct.String.html' 'MaskedTrait'
|
||||||
|
// @!hasraw 'foo/struct.String.html' 'MaskedBlanketTrait'
|
||||||
// @!hasraw 'foo/struct.String.html' 'masked_method'
|
// @!hasraw 'foo/struct.String.html' 'masked_method'
|
||||||
pub use std::string::String;
|
pub use std::string::String;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user