]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/rfcs/rfc-2528-type-changing-struct-update/coerce-in-base-expr.rs
3 #![feature(type_changing_struct_update)]
4 #![allow(incomplete_features)]
8 struct Foo
<A
, B
: ?Sized
, C
: ?Sized
> {
18 let y
= Foo
::<usize, dyn Any
, dyn Any
> {
24 // C needs to be told to coerce to `Box<dyn Any>`