Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
typeck
/
do-not-suggest-placeholder-to-const-static-without-type.rs
blob: 97e0b213f2e7913ab6923bb5c5aaabc88b36de03 [
file
] [
log
] [
blame
]
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
()
{}