2020-02-14 14:21:02 +01: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-06 01:52:45 +01:00
|
|
|
//~^ ERROR missing type for `const` item
|