]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/feature-gate-assoc-type-defaults.rs
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / 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() {}