Rollup merge of #103253 - notriddle:notriddle/test-case-masked-blanket-impl, r=Mark-Simulacrum
rustdoc: add test case for masked blanket impl
This commit is contained in:
commit
6460d3be00
@ -8,3 +8,7 @@ pub trait MaskedTrait {
|
||||
impl MaskedTrait for String {
|
||||
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 'foo/struct.String.html' 'MaskedTrait'
|
||||
// @!hasraw 'foo/struct.String.html' 'MaskedBlanketTrait'
|
||||
// @!hasraw 'foo/struct.String.html' 'masked_method'
|
||||
pub use std::string::String;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user