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 08:41:57 -06:00
fn f() -> impl 'static {} //~ ERROR at least one trait must be specified
fn main() {}