@@ -11,168 +11,168 @@ LL | #![feature(const_cmp)]
11
11
| ^^^^^^^^^
12
12
13
13
error: `~const` can only be applied to `#[const_trait]` traits
14
- --> $DIR/fn_trait_refs.rs:13:15
14
+ --> $DIR/fn_trait_refs.rs:13:8
15
15
|
16
16
LL | T: ~const Fn<()> + ~const Destruct,
17
- | ^^^^^^
17
+ | ^^^^^^
18
18
19
19
error: `~const` can only be applied to `#[const_trait]` traits
20
- --> $DIR/fn_trait_refs.rs:13:31
20
+ --> $DIR/fn_trait_refs.rs:13:24
21
21
|
22
22
LL | T: ~const Fn<()> + ~const Destruct,
23
- | ^^ ^^^^^^
23
+ | ^^^^^^
24
24
25
25
error: `~const` can only be applied to `#[const_trait]` traits
26
- --> $DIR/fn_trait_refs.rs:13:15
26
+ --> $DIR/fn_trait_refs.rs:13:8
27
27
|
28
28
LL | T: ~const Fn<()> + ~const Destruct,
29
- | ^^^^^^
29
+ | ^^^^^^
30
30
|
31
31
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
32
32
33
33
error: `~const` can only be applied to `#[const_trait]` traits
34
- --> $DIR/fn_trait_refs.rs:13:15
34
+ --> $DIR/fn_trait_refs.rs:13:8
35
35
|
36
36
LL | T: ~const Fn<()> + ~const Destruct,
37
- | ^^^^^^
37
+ | ^^^^^^
38
38
|
39
39
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
40
40
41
41
error: `~const` can only be applied to `#[const_trait]` traits
42
- --> $DIR/fn_trait_refs.rs:13:31
42
+ --> $DIR/fn_trait_refs.rs:13:24
43
43
|
44
44
LL | T: ~const Fn<()> + ~const Destruct,
45
- | ^^ ^^^^^^
45
+ | ^^^^^^
46
46
|
47
47
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
48
48
49
49
error: `~const` can only be applied to `#[const_trait]` traits
50
- --> $DIR/fn_trait_refs.rs:20:15
50
+ --> $DIR/fn_trait_refs.rs:20:8
51
51
|
52
52
LL | T: ~const FnMut<()> + ~const Destruct,
53
- | ^^^ ^^^^^^
53
+ | ^^^^^^
54
54
55
55
error: `~const` can only be applied to `#[const_trait]` traits
56
- --> $DIR/fn_trait_refs.rs:20:34
56
+ --> $DIR/fn_trait_refs.rs:20:27
57
57
|
58
58
LL | T: ~const FnMut<()> + ~const Destruct,
59
- | ^^ ^^^^^^
59
+ | ^^^^^^
60
60
61
61
error: `~const` can only be applied to `#[const_trait]` traits
62
- --> $DIR/fn_trait_refs.rs:20:15
62
+ --> $DIR/fn_trait_refs.rs:20:8
63
63
|
64
64
LL | T: ~const FnMut<()> + ~const Destruct,
65
- | ^^^ ^^^^^^
65
+ | ^^^^^^
66
66
|
67
67
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
68
68
69
69
error: `~const` can only be applied to `#[const_trait]` traits
70
- --> $DIR/fn_trait_refs.rs:20:15
70
+ --> $DIR/fn_trait_refs.rs:20:8
71
71
|
72
72
LL | T: ~const FnMut<()> + ~const Destruct,
73
- | ^^^ ^^^^^^
73
+ | ^^^^^^
74
74
|
75
75
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
76
76
77
77
error: `~const` can only be applied to `#[const_trait]` traits
78
- --> $DIR/fn_trait_refs.rs:20:34
78
+ --> $DIR/fn_trait_refs.rs:20:27
79
79
|
80
80
LL | T: ~const FnMut<()> + ~const Destruct,
81
- | ^^ ^^^^^^
81
+ | ^^^^^^
82
82
|
83
83
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
84
84
85
85
error: `~const` can only be applied to `#[const_trait]` traits
86
- --> $DIR/fn_trait_refs.rs:27:15
86
+ --> $DIR/fn_trait_refs.rs:27:8
87
87
|
88
88
LL | T: ~const FnOnce<()>,
89
- | ^^^^ ^^^^^^
89
+ | ^^^^^^
90
90
91
91
error: `~const` can only be applied to `#[const_trait]` traits
92
- --> $DIR/fn_trait_refs.rs:27:15
92
+ --> $DIR/fn_trait_refs.rs:27:8
93
93
|
94
94
LL | T: ~const FnOnce<()>,
95
- | ^^^^ ^^^^^^
95
+ | ^^^^^^
96
96
|
97
97
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
98
98
99
99
error: `~const` can only be applied to `#[const_trait]` traits
100
- --> $DIR/fn_trait_refs.rs:27:15
100
+ --> $DIR/fn_trait_refs.rs:27:8
101
101
|
102
102
LL | T: ~const FnOnce<()>,
103
- | ^^^^ ^^^^^^
103
+ | ^^^^^^
104
104
|
105
105
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
106
106
107
107
error: `~const` can only be applied to `#[const_trait]` traits
108
- --> $DIR/fn_trait_refs.rs:34:15
108
+ --> $DIR/fn_trait_refs.rs:34:8
109
109
|
110
110
LL | T: ~const Fn<()> + ~const Destruct,
111
- | ^^^^^^
111
+ | ^^^^^^
112
112
113
113
error: `~const` can only be applied to `#[const_trait]` traits
114
- --> $DIR/fn_trait_refs.rs:34:31
114
+ --> $DIR/fn_trait_refs.rs:34:24
115
115
|
116
116
LL | T: ~const Fn<()> + ~const Destruct,
117
- | ^^ ^^^^^^
117
+ | ^^^^^^
118
118
119
119
error: `~const` can only be applied to `#[const_trait]` traits
120
- --> $DIR/fn_trait_refs.rs:34:15
120
+ --> $DIR/fn_trait_refs.rs:34:8
121
121
|
122
122
LL | T: ~const Fn<()> + ~const Destruct,
123
- | ^^^^^^
123
+ | ^^^^^^
124
124
|
125
125
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
126
126
127
127
error: `~const` can only be applied to `#[const_trait]` traits
128
- --> $DIR/fn_trait_refs.rs:34:15
128
+ --> $DIR/fn_trait_refs.rs:34:8
129
129
|
130
130
LL | T: ~const Fn<()> + ~const Destruct,
131
- | ^^^^^^
131
+ | ^^^^^^
132
132
|
133
133
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
134
134
135
135
error: `~const` can only be applied to `#[const_trait]` traits
136
- --> $DIR/fn_trait_refs.rs:34:31
136
+ --> $DIR/fn_trait_refs.rs:34:24
137
137
|
138
138
LL | T: ~const Fn<()> + ~const Destruct,
139
- | ^^ ^^^^^^
139
+ | ^^^^^^
140
140
|
141
141
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
142
142
143
143
error: `~const` can only be applied to `#[const_trait]` traits
144
- --> $DIR/fn_trait_refs.rs:48:15
144
+ --> $DIR/fn_trait_refs.rs:48:8
145
145
|
146
146
LL | T: ~const FnMut<()> + ~const Destruct,
147
- | ^^^ ^^^^^^
147
+ | ^^^^^^
148
148
149
149
error: `~const` can only be applied to `#[const_trait]` traits
150
- --> $DIR/fn_trait_refs.rs:48:34
150
+ --> $DIR/fn_trait_refs.rs:48:27
151
151
|
152
152
LL | T: ~const FnMut<()> + ~const Destruct,
153
- | ^^ ^^^^^^
153
+ | ^^^^^^
154
154
155
155
error: `~const` can only be applied to `#[const_trait]` traits
156
- --> $DIR/fn_trait_refs.rs:48:15
156
+ --> $DIR/fn_trait_refs.rs:48:8
157
157
|
158
158
LL | T: ~const FnMut<()> + ~const Destruct,
159
- | ^^^ ^^^^^^
159
+ | ^^^^^^
160
160
|
161
161
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
162
162
163
163
error: `~const` can only be applied to `#[const_trait]` traits
164
- --> $DIR/fn_trait_refs.rs:48:15
164
+ --> $DIR/fn_trait_refs.rs:48:8
165
165
|
166
166
LL | T: ~const FnMut<()> + ~const Destruct,
167
- | ^^^ ^^^^^^
167
+ | ^^^^^^
168
168
|
169
169
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
170
170
171
171
error: `~const` can only be applied to `#[const_trait]` traits
172
- --> $DIR/fn_trait_refs.rs:48:34
172
+ --> $DIR/fn_trait_refs.rs:48:27
173
173
|
174
174
LL | T: ~const FnMut<()> + ~const Destruct,
175
- | ^^ ^^^^^^
175
+ | ^^^^^^
176
176
|
177
177
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
178
178
0 commit comments