1 // Regression test for issue #80233
2 // Tests that we don't ICE when processing auto traits
15 impl Trait2 for Struct1 {
19 impl<I: Trait2> Trait2 for Vec<I> {
20 type Type2 = Vec<I::Type2>;
23 impl<T: Trait1> Trait3 for T {
27 impl<T: Trait3> Trait3 for Vec<T> {
28 type Type3 = Vec<T::Type3>;
33 // @has issue_80233_normalize_auto_trait/struct.Question.html
34 // @has - '//h3[@class="code-header in-band"]' 'impl<T> Send for Question<T>'
35 pub struct Question<T: Trait1> {
36 pub ins: <<Vec<T> as Trait3>::Type3 as Trait2>::Type2,