summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/no-trait.rs
blob: 9ce668f46727fd77560d1a0d494f9b76fc396c6e (plain)
1
2
3
fn f() -> impl 'static {} //~ ERROR at least one trait must be specified

fn main() {}