]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc/inline_cross/issue-31948-1.rs
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / rustdoc / inline_cross / issue-31948-1.rs
CommitLineData
a7813a04
XL
1// Copyright 2016 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.
4//
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.
10
11// aux-build:rustdoc-nonreachable-impls.rs
12// build-aux-docs
13// ignore-cross-compile
14
15extern crate rustdoc_nonreachable_impls;
16
17// @has issue_31948_1/struct.Wobble.html
18// @has - '//*[@class="impl"]//code' 'Bark for'
19// @has - '//*[@class="impl"]//code' 'Woof for'
20// @!has - '//*[@class="impl"]//code' 'Bar for'
21// @!has - '//*[@class="impl"]//code' 'Qux for'
22pub use rustdoc_nonreachable_impls::hidden::Wobble;
23
24// @has issue_31948_1/trait.Bark.html
0bf4aa26 25// @has - '//code' 'for Foo'
a7813a04
XL
26// @has - '//code' 'for Wobble'
27// @!has - '//code' 'for Wibble'
28pub use rustdoc_nonreachable_impls::Bark;
29
30// @has issue_31948_1/trait.Woof.html
0bf4aa26 31// @has - '//code' 'for Foo'
a7813a04
XL
32// @has - '//code' 'for Wobble'
33// @!has - '//code' 'for Wibble'
34pub use rustdoc_nonreachable_impls::Woof;
35
36// @!has issue_31948_1/trait.Bar.html
37// @!has issue_31948_1/trait.Qux.html