Skip to content

Commit

Permalink
Regression test for #129541
Browse files Browse the repository at this point in the history
  • Loading branch information
zachs18 committed Aug 25, 2024
1 parent f167efa commit e55fc73
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/ui/traits/cow-self-field-sized.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//@ check-pass
// https://github.com/rust-lang/rust/issues/129541

#[derive(Clone)]
struct Test {
field: std::borrow::Cow<'static, [Self]>,
}

fn main(){}

0 comments on commit e55fc73

Please sign in to comment.