rust/tests/rustdoc/inline_cross/sugar-closure-crate-21801.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
318 B
Rust
Raw Normal View History

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