summaryrefslogtreecommitdiffstats
path: root/src/test/ui/typeck/do-not-suggest-placeholder-to-const-static-without-type.stderr
blob: 8982d6285617d911e962cfc2d08ecbb6ccbba4dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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