#![feature(precise_capturing)] fn lt<'a>() -> impl Sized + use<'a, 'a> {} //~^ ERROR cannot capture parameter `'a` twice fn ty() -> impl Sized + use {} //~^ ERROR cannot capture parameter `T` twice fn ct() -> impl Sized + use {} //~^ ERROR cannot capture parameter `N` twice fn ordering<'a, T>() -> impl Sized + use {} //~^ ERROR lifetime parameter `'a` must be listed before non-lifetime parameters fn main() {}