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