mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
299 B
Plaintext
9 lines
299 B
Plaintext
error: unexpected default lifetime parameter
|
|
--> $DIR/issue-107492-default-value-for-lifetime.rs:1:35
|
|
|
|
|
LL | pub struct DefaultLifetime<'a, 'b = 'static> {
|
|
| ^^^^^^^^^ lifetime parameters cannot have default values
|
|
|
|
error: aborting due to 1 previous error
|
|
|