Skip to content

Commit 8de7a4f

Browse files
committed
rustdoc: add test case for masked blanket impl
1 parent d7dd01f commit 8de7a4f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/test/rustdoc/auxiliary/masked.rs

+4
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ pub trait MaskedTrait {
88
impl MaskedTrait for String {
99
fn masked_method() {}
1010
}
11+
12+
pub trait MaskedBlanketTrait {}
13+
14+
impl<T> MaskedBlanketTrait for T {}

src/test/rustdoc/masked.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ extern crate masked;
1010
// @!hasraw 'search-index.js' 'masked_method'
1111

1212
// @!hasraw 'foo/struct.String.html' 'MaskedTrait'
13+
// @!hasraw 'foo/struct.String.html' 'MaskedBlanketTrait'
1314
// @!hasraw 'foo/struct.String.html' 'masked_method'
1415
pub use std::string::String;
1516

0 commit comments

Comments
 (0)