1 // compile-flags: --crate-type lib --edition 2018
4 #![feature(rustdoc_internals)]
8 // @has foo/trait.Foo.html
9 // @has - '//section[@id="impl-Foo-for-(T%2C)"]/h3' 'impl<T> Foo for (T₁, T₂, …, Tₙ)'
11 impl<T> Foo for (T,) {}
15 // @has foo/trait.Bar.html
16 // @has - '//section[@id="impl-Bar-for-(U%2C)"]/h3' 'impl<U: Foo> Bar for (U₁, U₂, …, Uₙ)'
18 impl<U: Foo> Bar for (U,) {}