mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
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 {
|
||||
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…
Reference in New Issue
Block a user