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

21 lines
612 B
Plaintext

error: associated `static` items are not allowed
--> $DIR/do-not-suggest-placeholder-to-const-static-without-type.rs:3:5
|
LL | static B;
| ^^^^^^^^^
error: missing type for `const` item
--> $DIR/do-not-suggest-placeholder-to-const-static-without-type.rs:2:12
|
LL | const A;
| ^ help: provide a type for the item: `: <type>`
error: missing type for `static` item
--> $DIR/do-not-suggest-placeholder-to-const-static-without-type.rs:3:13
|
LL | static B;
| ^ help: provide a type for the item: `: <type>`
error: aborting due to 3 previous errors