Move /src/test to /tests

This commit is contained in:
Albert Larsan
2023-01-05 09:13:28 +01:00
parent ca855e6e42
commit cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
@@ -0,0 +1,21 @@
// see issue #70529
struct A;
impl From<A> for [u8; 2] {
fn from(a: A) -> Self {
[0; 2]
}
}
impl From<A> for [u8; 3] {
fn from(a: A) -> Self {
[0; 3]
}
}
fn main() {
let a = A;
let [_, _] = a.into();
//~^ ERROR type annotations needed
}