summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-inherent-types/assoc-inherent-no-body.rs
blob: 71f65b92eae20e5e4d94028e894ec41d65534575 (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(inherent_associated_types)]
#![allow(incomplete_features)]

struct Foo;

impl Foo {
    type Baz; //~ ERROR associated type in `impl` without body
}

fn main() {}