rust/tests/ui/impl-trait/no-trait.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
87 B
Rust
Raw Normal View History

2017-01-18 14:41:57 +00:00
fn f() -> impl 'static {} //~ ERROR at least one trait must be specified
fn main() {}