mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
Move default const test out of line
This commit is contained in:
parent
3ec2dcfc0d
commit
c4fd463981
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user