]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/issue-20727-3.rs
1 // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 // aux-build:issue-20727.rs
14 extern crate issue_20727
;
18 // @has issue_20727_3/trait.Deref2.html
20 // @has - '//*[@class="rust trait"]' 'trait Deref2 {'
21 // @has - '//*[@class="rust trait"]' 'type Target: Bar;'
24 // @has - '//*[@class="rust trait"]' 'fn deref(&self) -> Self::Target;'
25 fn deref(&self) -> Self::Target
;
28 // @has issue_20727_3/reexport/trait.Deref2.html
30 // @has - '//*[@class="rust trait"]' 'trait Deref2 {'
31 // @has - '//*[@class="rust trait"]' 'type Target: Bar;'
32 // @has - '//*[@class="rust trait"]' 'fn deref(&self) -> Self::Target;'
33 pub use issue_20727
::Deref2
;