]> git.proxmox.com Git - rustc.git/blobdiff - src/test/rustdoc/where.rs
Imported Upstream version 1.2.0+dfsg1
[rustc.git] / src / test / rustdoc / where.rs
index 3ce91d63300074e66943dfbbc92f4abfad9df1bb..91ec69d9a3cbbdbeaaff4adcd705862997122097 100644 (file)
@@ -42,3 +42,7 @@ pub enum Foxtrot<F> { Foxtrot1(F) }
 // @has foo/trait.MyTrait.html '//*[@id="implementors-list"]//code' \
 //          "impl<F> MyTrait for Foxtrot<F> where F: MyTrait"
 impl<F> MyTrait for Foxtrot<F> where F: MyTrait {}
+
+// @has foo/type.Golf.html '//pre[@class="rust typedef"]' \
+//          "type Golf<T> where T: Clone = (T, T)"
+pub type Golf<T> where T: Clone = (T, T);