File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ Lifetime positions can appear as either "input" or "output":
100
100
input position and two lifetimes in output position.
101
101
Note that the input positions of a ` fn ` method definition do not
102
102
include the lifetimes that occur in the method's ` impl ` header
103
- ` impl ` (nor lifetimes that occur in the trait header, for a default
104
- method).
103
+ (nor lifetimes that occur in the trait header, for a default method).
105
104
106
105
107
106
* For ` impl ` headers, input refers to the lifetimes appears in the type
@@ -190,13 +189,6 @@ impl Bar for &str {
190
189
fn bound (& 'a self ) -> & 'a int { ... } fn fresh (& self ) -> & int { ... } // ILLEGAL: unbound 'a
191
190
}
192
191
193
- impl <'a > Bar <'a > for & 'a str {
194
- fn bound (& 'a self ) -> & 'a int { ... } fn fresh (& self ) -> & int { ... } // elided
195
- }
196
- impl <'a > Bar <'a > for & 'a str {
197
- fn bound (& 'a self ) -> & 'a int { ... } fn fresh <'b >(& 'b self ) -> & 'b int { ... } // expanded
198
- }
199
-
200
192
```
201
193
202
194
## Error messages
You can’t perform that action at this time.
0 commit comments