1 error: outlives requirements can be inferred
2 --> $DIR/edition-lint-infer-outlives.rs:35:27
4 LL | struct TeeOutlivesAy<'a, T: 'a> {
5 | ^^^^ help: remove this bound
7 note: lint level defined here
8 --> $DIR/edition-lint-infer-outlives.rs:14:9
10 LL | #![deny(explicit_outlives_requirements)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: outlives requirements can be inferred
14 --> $DIR/edition-lint-infer-outlives.rs:40:36
16 LL | struct TeeOutlivesAyIsDebug<'a, T: 'a + Debug> {
17 | ^^^^^ help: remove this bound
19 error: outlives requirements can be inferred
20 --> $DIR/edition-lint-infer-outlives.rs:45:41
22 LL | struct TeeIsDebugOutlivesAy<'a, T: Debug + 'a> {
23 | ^^^^^ help: remove this bound
25 error: outlives requirements can be inferred
26 --> $DIR/edition-lint-infer-outlives.rs:50:34
28 LL | struct TeeOutlivesAyBee<'a, 'b, T: 'a + 'b> {
29 | ^^^^^^^^^ help: remove these bounds
31 error: outlives requirements can be inferred
32 --> $DIR/edition-lint-infer-outlives.rs:55:43
34 LL | struct TeeOutlivesAyBeeIsDebug<'a, 'b, T: 'a + 'b + Debug> {
35 | ^^^^^^^^^^ help: remove these bounds
37 error: outlives requirements can be inferred
38 --> $DIR/edition-lint-infer-outlives.rs:60:48
40 LL | struct TeeIsDebugOutlivesAyBee<'a, 'b, T: Debug + 'a + 'b> {
41 | ^^^^^^^^^^ help: remove these bounds
43 error: outlives requirements can be inferred
44 --> $DIR/edition-lint-infer-outlives.rs:65:33
46 LL | struct TeeWhereOutlivesAy<'a, T> where T: 'a {
47 | ^^^^^^^^^^^^ help: remove this bound
49 error: outlives requirements can be inferred
50 --> $DIR/edition-lint-infer-outlives.rs:70:50
52 LL | struct TeeWhereOutlivesAyIsDebug<'a, T> where T: 'a + Debug {
53 | ^^^^^ help: remove this bound
55 error: outlives requirements can be inferred
56 --> $DIR/edition-lint-infer-outlives.rs:75:55
58 LL | struct TeeWhereIsDebugOutlivesAy<'a, T> where T: Debug + 'a {
59 | ^^^^^ help: remove this bound
61 error: outlives requirements can be inferred
62 --> $DIR/edition-lint-infer-outlives.rs:80:40
64 LL | struct TeeWhereOutlivesAyBee<'a, 'b, T> where T: 'a + 'b {
65 | ^^^^^^^^^^^^^^^^^ help: remove these bounds
67 error: outlives requirements can be inferred
68 --> $DIR/edition-lint-infer-outlives.rs:85:57
70 LL | struct TeeWhereOutlivesAyBeeIsDebug<'a, 'b, T> where T: 'a + 'b + Debug {
71 | ^^^^^^^^^^ help: remove these bounds
73 error: outlives requirements can be inferred
74 --> $DIR/edition-lint-infer-outlives.rs:90:62
76 LL | struct TeeWhereIsDebugOutlivesAyBee<'a, 'b, T> where T: Debug + 'a + 'b {
77 | ^^^^^^^^^^ help: remove these bounds
79 error: outlives requirements can be inferred
80 --> $DIR/edition-lint-infer-outlives.rs:95:33
82 LL | struct TeeYooOutlivesAy<'a, T, U: 'a> {
83 | ^^^^ help: remove this bound
85 error: outlives requirements can be inferred
86 --> $DIR/edition-lint-infer-outlives.rs:101:42
88 LL | struct TeeYooOutlivesAyIsDebug<'a, T, U: 'a + Debug> {
89 | ^^^^^ help: remove this bound
91 error: outlives requirements can be inferred
92 --> $DIR/edition-lint-infer-outlives.rs:107:47
94 LL | struct TeeYooIsDebugOutlivesAy<'a, T, U: Debug + 'a> {
95 | ^^^^^ help: remove this bound
97 error: outlives requirements can be inferred
98 --> $DIR/edition-lint-infer-outlives.rs:113:37
100 LL | struct TeeOutlivesAyYooIsDebug<'a, T: 'a, U: Debug> {
101 | ^^^^ help: remove this bound
103 error: outlives requirements can be inferred
104 --> $DIR/edition-lint-infer-outlives.rs:119:40
106 LL | struct TeeYooOutlivesAyBee<'a, 'b, T, U: 'a + 'b> {
107 | ^^^^^^^^^ help: remove these bounds
109 error: outlives requirements can be inferred
110 --> $DIR/edition-lint-infer-outlives.rs:125:49
112 LL | struct TeeYooOutlivesAyBeeIsDebug<'a, 'b, T, U: 'a + 'b + Debug> {
113 | ^^^^^^^^^^ help: remove these bounds
115 error: outlives requirements can be inferred
116 --> $DIR/edition-lint-infer-outlives.rs:131:54
118 LL | struct TeeYooIsDebugOutlivesAyBee<'a, 'b, T, U: Debug + 'a + 'b> {
119 | ^^^^^^^^^^ help: remove these bounds
121 error: outlives requirements can be inferred
122 --> $DIR/edition-lint-infer-outlives.rs:137:44
124 LL | struct TeeOutlivesAyBeeYooIsDebug<'a, 'b, T: 'a + 'b, U: Debug> {
125 | ^^^^^^^^^ help: remove these bounds
127 error: outlives requirements can be inferred
128 --> $DIR/edition-lint-infer-outlives.rs:143:39
130 LL | struct TeeYooWhereOutlivesAy<'a, T, U> where U: 'a {
131 | ^^^^^^^^^^^^ help: remove this bound
133 error: outlives requirements can be inferred
134 --> $DIR/edition-lint-infer-outlives.rs:149:56
136 LL | struct TeeYooWhereOutlivesAyIsDebug<'a, T, U> where U: 'a + Debug {
137 | ^^^^^ help: remove this bound
139 error: outlives requirements can be inferred
140 --> $DIR/edition-lint-infer-outlives.rs:155:61
142 LL | struct TeeYooWhereIsDebugOutlivesAy<'a, T, U> where U: Debug + 'a {
143 | ^^^^^ help: remove this bound
145 error: outlives requirements can be inferred
146 --> $DIR/edition-lint-infer-outlives.rs:161:42
148 LL | struct TeeOutlivesAyYooWhereIsDebug<'a, T: 'a, U> where U: Debug {
149 | ^^^^ help: remove this bound
151 error: outlives requirements can be inferred
152 --> $DIR/edition-lint-infer-outlives.rs:167:46
154 LL | struct TeeYooWhereOutlivesAyBee<'a, 'b, T, U> where U: 'a + 'b {
155 | ^^^^^^^^^^^^^^^^^ help: remove these bounds
157 error: outlives requirements can be inferred
158 --> $DIR/edition-lint-infer-outlives.rs:173:63
160 LL | struct TeeYooWhereOutlivesAyBeeIsDebug<'a, 'b, T, U> where U: 'a + 'b + Debug {
161 | ^^^^^^^^^^ help: remove these bounds
163 error: outlives requirements can be inferred
164 --> $DIR/edition-lint-infer-outlives.rs:179:68
166 LL | struct TeeYooWhereIsDebugOutlivesAyBee<'a, 'b, T, U> where U: Debug + 'a + 'b {
167 | ^^^^^^^^^^ help: remove these bounds
169 error: outlives requirements can be inferred
170 --> $DIR/edition-lint-infer-outlives.rs:185:49
172 LL | struct TeeOutlivesAyBeeYooWhereIsDebug<'a, 'b, T: 'a + 'b, U> where U: Debug {
173 | ^^^^^^^^^ help: remove these bounds
175 error: outlives requirements can be inferred
176 --> $DIR/edition-lint-infer-outlives.rs:191:58
178 LL | struct TeeWhereOutlivesAyYooWhereIsDebug<'a, T, U> where T: 'a, U: Debug {
179 | ^^^^^^^ help: remove this bound
181 error: outlives requirements can be inferred
182 --> $DIR/edition-lint-infer-outlives.rs:197:65
184 LL | struct TeeWhereOutlivesAyBeeYooWhereIsDebug<'a, 'b, T, U> where T: 'a + 'b, U: Debug {
185 | ^^^^^^^^^^^^ help: remove these bounds
187 error: aborting due to 30 previous errors