mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +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
|
|
|