9 lines
208 B
Plaintext
9 lines
208 B
Plaintext
error: unexpected lifetime `'a` in pattern
|
|
--> $DIR/self-vs-path-ambiguity.rs:9:11
|
|
|
|
|
LL | fn i(&'a self::S: &S) {}
|
|
| ^^ help: remove the lifetime
|
|
|
|
error: aborting due to previous error
|
|
|