summaryrefslogtreecommitdiffstats
path: root/tests/ui/lifetimes/issue-107492-default-value-for-lifetime.rs
blob: f129035d040f1ff5678af9f84b585bdc54965b76 (plain)
1
2
3
4
5
6
pub struct DefaultLifetime<'a, 'b = 'static> {
                                   //~^ ERROR unexpected default lifetime parameter
    _marker: std::marker::PhantomData<&'a &'b ()>,
}

fn main(){}