Skip to content

Commit e55fc73

Browse files
committed
Regression test for #129541
1 parent f167efa commit e55fc73

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
//@ check-pass
2+
// https://github.com/rust-lang/rust/issues/129541
3+
4+
#[derive(Clone)]
5+
struct Test {
6+
field: std::borrow::Cow<'static, [Self]>,
7+
}
8+
9+
fn main(){}

0 commit comments

Comments
 (0)