]> git.lizzy.rs Git - rust.git/blob - tests/ui/lifetimes/issue-107492-default-value-for-lifetime.rs
Rollup merge of #107700 - jyn514:tools-builder, r=Mark-Simulacrum
[rust.git] / tests / ui / lifetimes / issue-107492-default-value-for-lifetime.rs
1 pub struct DefaultLifetime<'a, 'b = 'static> {
2                                    //~^ ERROR unexpected default lifetime parameter
3     _marker: std::marker::PhantomData<&'a &'b ()>,
4 }
5
6 fn main(){}