summary refs log tree commit diff
path: root/tests/ui/impl-trait/precise-capturing/dyn-use.rs
blob: ce7a0f3c7b21113f941ba177931a0fb350553d24 (plain)
1
2
3
4
#![feature(precise_capturing)]

fn dyn() -> &'static dyn use<> { &() }
//~^ ERROR expected one of `!`, `(`, `::`, `<`, `where`, or `{`, found keyword `use`