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