mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
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
|
|
|