1 error: associated `static` items are not allowed
2 --> $DIR/assoc-static-syntactic-fail.rs:7:5
4 LL | static IA: u8 = 0;
7 error: associated `static` items are not allowed
8 --> $DIR/assoc-static-syntactic-fail.rs:8:5
13 error: a static item cannot be `default`
14 --> $DIR/assoc-static-syntactic-fail.rs:9:5
16 LL | default static IC: u8 = 0;
17 | ^^^^^^^ `default` because of this
19 = note: only associated `fn`, `const`, and `type` items can be `default`
21 error: associated `static` items are not allowed
22 --> $DIR/assoc-static-syntactic-fail.rs:9:5
24 LL | default static IC: u8 = 0;
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
27 error: a static item cannot be `default`
28 --> $DIR/assoc-static-syntactic-fail.rs:11:16
30 LL | pub(crate) default static ID: u8;
31 | ^^^^^^^ `default` because of this
33 = note: only associated `fn`, `const`, and `type` items can be `default`
35 error: associated `static` items are not allowed
36 --> $DIR/assoc-static-syntactic-fail.rs:11:5
38 LL | pub(crate) default static ID: u8;
39 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
41 error: associated `static` items are not allowed
42 --> $DIR/assoc-static-syntactic-fail.rs:17:5
44 LL | static TA: u8 = 0;
47 error: associated `static` items are not allowed
48 --> $DIR/assoc-static-syntactic-fail.rs:18:5
53 error: a static item cannot be `default`
54 --> $DIR/assoc-static-syntactic-fail.rs:19:5
56 LL | default static TC: u8 = 0;
57 | ^^^^^^^ `default` because of this
59 = note: only associated `fn`, `const`, and `type` items can be `default`
61 error: associated `static` items are not allowed
62 --> $DIR/assoc-static-syntactic-fail.rs:19:5
64 LL | default static TC: u8 = 0;
65 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
67 error: a static item cannot be `default`
68 --> $DIR/assoc-static-syntactic-fail.rs:21:16
70 LL | pub(crate) default static TD: u8;
71 | ^^^^^^^ `default` because of this
73 = note: only associated `fn`, `const`, and `type` items can be `default`
75 error: associated `static` items are not allowed
76 --> $DIR/assoc-static-syntactic-fail.rs:21:5
78 LL | pub(crate) default static TD: u8;
79 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
81 error: associated `static` items are not allowed
82 --> $DIR/assoc-static-syntactic-fail.rs:27:5
84 LL | static TA: u8 = 0;
87 error: associated `static` items are not allowed
88 --> $DIR/assoc-static-syntactic-fail.rs:28:5
93 error: a static item cannot be `default`
94 --> $DIR/assoc-static-syntactic-fail.rs:29:5
96 LL | default static TC: u8 = 0;
97 | ^^^^^^^ `default` because of this
99 = note: only associated `fn`, `const`, and `type` items can be `default`
101 error: associated `static` items are not allowed
102 --> $DIR/assoc-static-syntactic-fail.rs:29:5
104 LL | default static TC: u8 = 0;
105 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
107 error: a static item cannot be `default`
108 --> $DIR/assoc-static-syntactic-fail.rs:31:9
110 LL | pub default static TD: u8;
111 | ^^^^^^^ `default` because of this
113 = note: only associated `fn`, `const`, and `type` items can be `default`
115 error: associated `static` items are not allowed
116 --> $DIR/assoc-static-syntactic-fail.rs:31:5
118 LL | pub default static TD: u8;
119 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
121 error: aborting due to 18 previous errors