1
Fork 0

remove redundant test

This commit is contained in:
lcnr 2025-01-20 16:39:13 +01:00 committed by JJ_EMPTY_STRING
parent ccc9ba5c30
commit 9788aa0cef

View file

@ -1,14 +0,0 @@
//@ check-pass
// https://github.com/rust-lang/rust/issues/129541
#[derive(Clone)]
struct Test {
field: std::borrow::Cow<'static, [Self]>,
}
#[derive(Clone)]
struct Hello {
a: <[Hello] as std::borrow::ToOwned>::Owned,
}
fn main(){}