2015-04-07 14:20:24 -05:00
|
|
|
// aux-build:issue-21801.rs
|
2015-04-22 17:22:36 -05:00
|
|
|
// ignore-cross-compile
|
2015-04-07 14:20:24 -05:00
|
|
|
|
2023-10-04 15:04:45 -05:00
|
|
|
// https://github.com/rust-lang/rust/issues/21801
|
2023-10-04 14:08:47 -05:00
|
|
|
#![crate_name="issue_21801"]
|
|
|
|
|
2015-04-07 14:20:24 -05:00
|
|
|
extern crate issue_21801;
|
|
|
|
|
|
|
|
// @has issue_21801/struct.Foo.html
|
|
|
|
// @has - '//*[@id="method.new"]' \
|
2022-08-31 10:05:46 -05:00
|
|
|
// 'fn new<F>(f: F) -> Foowhere F: FnMut() -> i32'
|
2015-04-07 14:20:24 -05:00
|
|
|
pub use issue_21801::Foo;
|