]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-assoc-type-defaults.rs
parser will not give wrong help message for 'public'
[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() {}