summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-21801.rs
blob: 29d2ec64c206d007d1d1a395fc0c38a3feb10615 (plain)
1
2
3
4
5
6
7
8
9
// aux-build:issue-21801.rs
// ignore-cross-compile

extern crate issue_21801;

// @has issue_21801/struct.Foo.html
// @has - '//*[@id="method.new"]' \
//        'fn new<F>(f: F) -> Foowhere F: FnMut() -> i32'
pub use issue_21801::Foo;