1 // revisions: rust2015 rust2018
2 //[rust2018] edition:2018
5 trait WithRegion<'a> { }
14 //[rust2015]~^ ERROR `&` without an explicit lifetime name cannot be used here
15 //[rust2018]~^^ ERROR `&` without an explicit lifetime name cannot be used here