rust/tests/ui/parser/issues/issue-27255.rs

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

11 lines
199 B
Rust
Raw Normal View History

trait A {}
impl A .. {}
//~^ ERROR missing `for` in a trait impl
//~| ERROR `impl Trait for .. {}` is an obsolete syntax
impl A usize {}
//~^ ERROR missing `for` in a trait impl
2015-07-31 07:24:55 -05:00
fn main() {}