]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-inherent-types/assoc-inherent-no-body.rs
Rollup merge of #106470 - ehuss:tidy-no-wasm, r=Mark-Simulacrum
[rust.git] / tests / ui / associated-inherent-types / assoc-inherent-no-body.rs
1 #![feature(inherent_associated_types)]
2 #![allow(incomplete_features)]
3
4 struct Foo;
5
6 impl Foo {
7     type Baz; //~ ERROR associated type in `impl` without body
8 }
9
10 fn main() {}