rust/tests/ui/typeck/do-not-suggest-placeholder-...

9 lines
198 B
Rust

trait Foo {
const A; //~ ERROR missing type for `const` item
static B;
//~^ ERROR associated `static` items are not allowed
//~| ERROR missing type for `static` item
}
fn main() {}