]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-assoc-type-defaults.rs
Merge commit 'dc5423ad448877e33cca28db2f1445c9c4473c75' 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() {}