//@ aux-build:impl_trait_aux.rs //@ edition:2018 extern crate impl_trait_aux; //@ has impl_trait/fn.func.html //@ has - '//pre[@class="rust item-decl"]' "pub fn func<'a>(_x: impl Clone + Into> + 'a)" //@ !has - '//pre[@class="rust item-decl"]' 'where' pub use impl_trait_aux::func; //@ has impl_trait/fn.func2.html //@ has - '//pre[@class="rust item-decl"]' "func2(" //@ has - '//pre[@class="rust item-decl"]' "_x: impl Deref> + Iterator," //@ has - '//pre[@class="rust item-decl"]' "_y: impl Iterator, )" //@ !has - '//pre[@class="rust item-decl"]' 'where' pub use impl_trait_aux::func2; //@ has impl_trait/fn.func3.html //@ has - '//pre[@class="rust item-decl"]' "func3(" //@ has - '//pre[@class="rust item-decl"]' "_x: impl Iterator> + Clone)" //@ !has - '//pre[@class="rust item-decl"]' 'where' pub use impl_trait_aux::func3; //@ has impl_trait/fn.func4.html //@ has - '//pre[@class="rust item-decl"]' "func4(" //@ has - '//pre[@class="rust item-decl"]' "T: Iterator," pub use impl_trait_aux::func4; //@ has impl_trait/fn.func5.html //@ has - '//pre[@class="rust item-decl"]' "func5(" //@ has - '//pre[@class="rust item-decl"]' "_f: impl for<'any> Fn(&'any str, &'any str) -> bool + for<'r> Other = ()>," //@ has - '//pre[@class="rust item-decl"]' "_a: impl for<'beta, 'alpha, '_gamma> Auxiliary<'alpha, Item<'beta> = fn(_: &'beta ())>" //@ !has - '//pre[@class="rust item-decl"]' 'where' pub use impl_trait_aux::func5; //@ has impl_trait/struct.Foo.html //@ has - '//*[@id="method.method"]//h4[@class="code-header"]' "pub fn method<'a>(_x: impl Clone + Into> + 'a)" //@ !has - '//*[@id="method.method"]//h4[@class="code-header"]' 'where' pub use impl_trait_aux::Foo;