about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-04-18 12:03:14 -0700
committerbors <bors@rust-lang.org>2016-04-18 12:03:14 -0700
commitb324fa7204dbdc17544d4402ffd0b1964df326f7 (patch)
tree67e4bcf0b273718594c1dd33c6dcace22c48aeb6 /src/test
parentd00782494b47ca7a4ae8e665f99ab10012b45f9c (diff)
parentec44ddc33a77192f2b9a03ec1747200f0fcb9ac3 (diff)
downloadrust-b324fa7204dbdc17544d4402ffd0b1964df326f7.tar.gz
rust-b324fa7204dbdc17544d4402ffd0b1964df326f7.zip
Auto merge of #33081 - steveklabnik:rollup, r=steveklabnik
Rollup of 6 pull requests

- Successful merges: #32558, #32906, #33007, #33008, #33035, #33058
- Failed merges: #32912
Diffstat (limited to 'src/test')
-rw-r--r--src/test/rustdoc/trait-self-link.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/rustdoc/trait-self-link.rs b/src/test/rustdoc/trait-self-link.rs
new file mode 100644
index 00000000000..3233fb96c5c
--- /dev/null
+++ b/src/test/rustdoc/trait-self-link.rs
@@ -0,0 +1,16 @@
+// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+// @!has trait_self_link/trait.Foo.html //a/@href ../trait_self_link/trait.Foo.html
+pub trait Foo {}
+
+pub struct Bar;
+
+impl Foo for Bar {}