Move default const test out of line

This commit is contained in:
Avi Dessauer 2020-06-04 13:06:26 -04:00
parent 3ec2dcfc0d
commit c4fd463981
5 changed files with 0 additions and 10 deletions

View File

@ -208,16 +208,6 @@ pub(super) fn maybe_item(p: &mut Parser, m: Marker, flavor: ItemFlavor) -> Resul
// default type T = Bar;
// default fn foo() {}
// }
// test_err default_const
// trait T {
// default const f: u8 = 0;
// }
// test default_const
// impl T for Foo {
// default const f: u8 = 0;
// }
T![const] => {
consts::const_def(p, m);
}