about summary refs log tree commit diff
path: root/tests/ui/impl-trait/precise-capturing/dyn-use.rs
blob: fb2f83e2d21cf11ad4895079e2ae52e147d7727a (plain)
1
2
fn dyn() -> &'static dyn use<> { &() }
//~^ ERROR expected one of `!`, `(`, `::`, `<`, `where`, or `{`, found keyword `use`