summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-27255.rs
blob: d619688e10183d03ca870456e1f1cb783d3b18c9 (plain)
1
2
3
4
5
6
7
8
9
10
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

fn main() {}