diff options
| author | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2019-07-09 16:59:34 +0900 |
|---|---|---|
| committer | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2019-08-19 17:49:54 +0900 |
| commit | 1fe6160c7e4b584795c66f21683064f62803acf0 (patch) | |
| tree | 55fcfc79105b54cc97a1f2c4df1d98236a3f9fc4 /src/test/rustdoc/inline_cross/impl_trait.rs | |
| parent | 3620456fafa04505c23511aa07d34f704ee7c84b (diff) | |
| download | rust-1fe6160c7e4b584795c66f21683064f62803acf0.tar.gz rust-1fe6160c7e4b584795c66f21683064f62803acf0.zip | |
Fix ICE with `impl Trait` in type bounds
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 3a9f2f88079..b1e3f8d145b 100644 --- a/src/test/rustdoc/inline_cross/impl_trait.rs +++ b/src/test/rustdoc/inline_cross/impl_trait.rs @@ -20,6 +20,12 @@ pub use impl_trait_aux::func2; // @!has - '//pre[@class="rust fn"]' 'where' pub use impl_trait_aux::func3; + +// @has impl_trait/fn.func4.html +// @has - '//pre[@class="rust fn"]' "func4<T>(" +// @has - '//pre[@class="rust fn"]' "T: Iterator<Item = impl Clone>," +pub use impl_trait_aux::func4; + // @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' |
