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