1 // aux-build:issue-98697-reexport-with-anonymous-lifetime.rs
2 // ignore-cross-compile
4 // When reexporting a function with a HRTB with anonymous lifetimes,
5 // make sure the anonymous lifetimes are not rendered.
7 // https://github.com/rust-lang/rust/issues/98697
9 extern crate issue_98697_reexport_with_anonymous_lifetime;
11 // @has issue_98697/fn.repro.html '//pre[@class="rust fn"]/code' 'fn repro<F>()where F: Fn(&str)'
12 // @!has issue_98697/fn.repro.html '//pre[@class="rust fn"]/code' 'for<'
13 pub use issue_98697_reexport_with_anonymous_lifetime::repro;
15 // @has issue_98697/struct.Extra.html '//div[@id="trait-implementations-list"]//h3[@class="code-header"]' 'impl MyTrait<&Extra> for Extra'
16 // @!has issue_98697/struct.Extra.html '//div[@id="trait-implementations-list"]//h3[@class="code-header"]' 'impl<'
17 pub use issue_98697_reexport_with_anonymous_lifetime::Extra;