]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/item-free-const-no-body-semantic-fail.rs
Auto merge of #99292 - Aaron1011:stability-use-tree, r=cjgillot
[rust.git] / src / test / ui / parser / item-free-const-no-body-semantic-fail.rs
index 15a15a207b1cafd52c363e812cea1fa527bd1d2f..613b3c9856171a28f10cfdd856d7aaf8f15ba693 100644 (file)
@@ -4,3 +4,4 @@ fn main() {}
 
 const A: u8; //~ ERROR free constant item without body
 const B; //~ ERROR free constant item without body
+//~^ ERROR missing type for `const` item