]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/do-not-suggest-placeholder-to-const-static-without-type.rs
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / ui / typeck / do-not-suggest-placeholder-to-const-static-without-type.rs
1 trait Foo {
2     const A; //~ ERROR missing type for `const` item
3     static B;
4     //~^ ERROR associated `static` items are not allowed
5     //~| ERROR missing type for `static` item
6 }
7
8 fn main() {}