mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
15 lines
405 B
Plaintext
15 lines
405 B
Plaintext
error[E0726]: implicit elided lifetime not allowed here
|
|
--> $DIR/skip-reporting-if-references-err.rs:10:9
|
|
|
|
|
LL | impl<T> ToUnit for T {}
|
|
| ^^^^^^ expected lifetime parameter
|
|
|
|
|
help: indicate the anonymous lifetime
|
|
|
|
|
LL | impl<T> ToUnit<'_> for T {}
|
|
| ++++
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0726`.
|