diff options
| author | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2019-07-08 17:59:26 +0900 |
|---|---|---|
| committer | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2019-08-19 17:49:54 +0900 |
| commit | 9beff38382a88ceafcb6e83636535c07eacad345 (patch) | |
| tree | f84773720d60d84ccd0ac748f1c8883081c6d466 /src/test/rustdoc/inline_cross/impl_trait.rs | |
| parent | b78367d8e8c3273b2cdeefc4ce55897e08e592b2 (diff) | |
| download | rust-9beff38382a88ceafcb6e83636535c07eacad345.tar.gz rust-9beff38382a88ceafcb6e83636535c07eacad345.zip | |
Associated type bound for inlined impl Trait doc
Diffstat (limited to 'src/test/rustdoc/inline_cross/impl_trait.rs')
| -rw-r--r-- | src/test/rustdoc/inline_cross/impl_trait.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/rustdoc/inline_cross/impl_trait.rs b/src/test/rustdoc/inline_cross/impl_trait.rs index 091baa9773e..20d193aad16 100644 --- a/src/test/rustdoc/inline_cross/impl_trait.rs +++ b/src/test/rustdoc/inline_cross/impl_trait.rs @@ -7,6 +7,12 @@ extern crate impl_trait_aux; // @!has - '//pre[@class="rust fn"]' 'where' pub use impl_trait_aux::func; +// @has impl_trait/fn.func2.html +// @has - '//pre[@class="rust fn"]' "_x: impl Deref<Target = Option<T>> + Iterator<Item = T>," +// @has - '//pre[@class="rust fn"]' "_y: impl Iterator<Item = u8>)" +// @!has - '//pre[@class="rust fn"]' 'where' +pub use impl_trait_aux::func2; + // @has impl_trait/struct.Foo.html // @has - '//code[@id="method.v"]' "pub fn method<'a>(_x: impl Clone + Into<Vec<u8>> + 'a)" // @!has - '//code[@id="method.v"]' 'where' |
