]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-assoc-type-defaults.rs
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[rust.git] / src / test / ui / feature-gates / feature-gate-assoc-type-defaults.rs
1 // gate-test-associated_type_defaults
2
3 trait Foo {
4     type Bar = u8; //~ ERROR associated type defaults are unstable
5 }
6
7 fn main() {}