summaryrefslogtreecommitdiffstats
path: root/tests/ui/lifetimes/issue-107492-default-value-for-lifetime.stderr
blob: c235c31809fb763f740a5cec5cda1acaf659c3f4 (plain)
1
2
3
4
5
6
7
8
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 previous error