Commit abf40d5
committed
Make
They don't work on Rust 1.51
```
error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable
--> src/arrayvec_copy.rs:59:6
|
59 | impl<T: Copy, const CAP: usize> ArrayVecCopy<T, CAP> {
| ^
|
= note: see issue #57563 <rust-lang/rust#57563> for more information
= help: add `#![feature(const_fn)]` to the crate attributes to enable
```ArrayVecCopy functions non-const
1 parent 4f348df commit abf40d5
File tree
3 files changed
+29
-21
lines changed- src
3 files changed
+29
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
31 | 52 | | |
32 | 53 | | |
33 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 85 | | |
100 | 86 | | |
101 | 87 | | |
| |||
106 | 92 | | |
107 | 93 | | |
108 | 94 | | |
109 | | - | |
| 95 | + | |
110 | 96 | | |
111 | 97 | | |
112 | 98 | | |
| |||
118 | 104 | | |
119 | 105 | | |
120 | 106 | | |
121 | | - | |
| 107 | + | |
122 | 108 | | |
123 | 109 | | |
124 | 110 | | |
| |||
129 | 115 | | |
130 | 116 | | |
131 | 117 | | |
132 | | - | |
| 118 | + | |
133 | 119 | | |
134 | 120 | | |
135 | 121 | | |
| |||
141 | 127 | | |
142 | 128 | | |
143 | 129 | | |
144 | | - | |
| 130 | + | |
145 | 131 | | |
146 | 132 | | |
147 | 133 | | |
| |||
152 | 138 | | |
153 | 139 | | |
154 | 140 | | |
155 | | - | |
| 141 | + | |
156 | 142 | | |
157 | 143 | | |
158 | 144 | | |
| |||
0 commit comments