2020-02-14 07:21:02 -06:00
|
|
|
// Semantically, a free `const` item cannot omit its body.
|
|
|
|
|
|
|
|
fn main() {}
|
|
|
|
|
|
|
|
const A: u8; //~ ERROR free constant item without body
|
|
|
|
const B; //~ ERROR free constant item without body
|
2021-10-05 19:52:45 -05:00
|
|
|
//~^ ERROR missing type for `const` item
|